@pichalite That fixed it. Thanks for your help!
whytea
Posts
-
db search fails, log shows "exception: invalid operator: $search" -
db search fails, log shows "exception: invalid operator: $search"@pichalite Aha, that might explain it!
-
db search fails, log shows "exception: invalid operator: $search"Hi,
MongoDB is version 2.4.9, NodeBB v1.0.3.
-
db search fails, log shows "exception: invalid operator: $search"So, search fails in the forum with the in-browser message, "Internal error. Oops! Looks like something went wrong!". What seems especially strange to me is that in the Admin interface search works fine. (?)
NodeBB was installed just a couple of days ago, everything else is working fine--this search has never worked.
I assume it's this plugin: nodebb-plugin-dbsearch, Installed 1.0.1 | Latest 1.0.1 ?
Log output:
17/6 23:00 [24353] - error: [plugins] filter:search.query, exception: invalid operator: $search
17/6 23:00 [24353] - error: /api/search/fail
MongoError: exception: invalid operator: $search
at Function.MongoError.create (/home/nodebbsvc/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/error.js:31:11)
at queryCallback (/home/nodebbsvc/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:200:36)
at Callbacks.emit (/home/nodebbsvc/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:119:3)
at null.messageHandler (/home/nodebbsvc/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:358:23)
at Socket.<anonymous> (/home/nodebbsvc/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:292:22)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:153:18)
at Socket.Readable.push (_stream_readable.js:111:10)
at TCP.onread (net.js:531:20)
17/6 23:00 [24353] - error: [plugins] filter:search.query, exception: invalid operator: $searchThanks in advance for any help you can provide. NodeBB is amazing and it has been a dream to set up. I'm loving it.