{"action":"created","issue":{"url":"https://api.github.com/repos/barisusakli/nodebb-plugin-dbsearch/issues/23","repository_url":"https://api.github.com/repos/barisusakli/nodebb-plugin-dbsearch","labels_url":"https://api.github.com/repos/barisusakli/nodebb-plugin-dbsearch/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/barisusakli/nodebb-plugin-dbsearch/issues/23/comments","events_url":"https://api.github.com/repos/barisusakli/nodebb-plugin-dbsearch/issues/23/events","html_url":"https://github.com/barisusakli/nodebb-plugin-dbsearch/issues/23","id":149108779,"number":23,"title":"error: invalid operator: $search","user":{"login":"nWidart","id":882397,"avatar_url":"https://avatars.githubusercontent.com/u/882397?v=3","gravatar_id":"","url":"https://api.github.com/users/nWidart","html_url":"https://github.com/nWidart","followers_url":"https://api.github.com/users/nWidart/followers","following_url":"https://api.github.com/users/nWidart/following{/other_user}","gists_url":"https://api.github.com/users/nWidart/gists{/gist_id}","starred_url":"https://api.github.com/users/nWidart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nWidart/subscriptions","organizations_url":"https://api.github.com/users/nWidart/orgs","repos_url":"https://api.github.com/users/nWidart/repos","events_url":"https://api.github.com/users/nWidart/events{/privacy}","received_events_url":"https://api.github.com/users/nWidart/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-18T10:20:00Z","updated_at":"2016-05-12T06:32:12Z","closed_at":"2016-05-11T20:19:32Z","body":"Hello,\r\n\r\nWhen trying to use the search function, I am getting this error:\r\n\r\n![Search function error screenshot](http://imgur.com/3AgeNX2l.png)\r\n\r\nIn network tab I see the following:\r\n\r\n```\r\n{path: \"/api/search/view\", error: \"invalid operator: $search\"}\r\nerror\r\n:\r\n\"invalid operator: $search\"\r\npath\r\n:\r\n\"/api/search/view\"\r\n```\r\n\r\nThis is what I have in logs from backend:\r\n\r\n```\r\n18/4 12:20 [30903] - \u001B[31merror\u001B[39m: /api/search/view\r\n MongoError: invalid operator: $search\r\n    at Function.MongoError.create (/home/forge/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/error.js:31:11)\r\n    at queryCallback (/home/forge/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:266:34)\r\n    at Callbacks.emit (/home/forge/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:95:3)\r\n    at null.messageHandler (/home/forge/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:249:23)\r\n    at Socket.<anonymous> (/home/forge/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:265:22)\r\n    at emitOne (events.js:77:13)\r\n    at Socket.emit (events.js:169:7)\r\n    at readableAddChunk (_stream_readable.js:146:16)\r\n    at Socket.Readable.push (_stream_readable.js:110:10)\r\n    at TCP.onread (net.js:523:20)\r\n18/4 12:20 [30903] - \u001B[31merror\u001B[39m: [plugins] filter:search.query,  invalid operator: $search\r\n```\r\n\r\nDid I miss something ?\r\n\r\nThank you"},"comment":{"url":"https://api.github.com/repos/barisusakli/nodebb-plugin-dbsearch/issues/comments/218671724","html_url":"https://github.com/barisusakli/nodebb-plugin-dbsearch/issues/23#issuecomment-218671724","issue_url":"https://api.github.com/repos/barisusakli/nodebb-plugin-dbsearch/issues/23","id":218671724,"user":{"login":"barisusakli","id":2583394,"avatar_url":"https://avatars.githubusercontent.com/u/2583394?v=3","gravatar_id":"","url":"https://api.github.com/users/barisusakli","html_url":"https://github.com/barisusakli","followers_url":"https://api.github.com/users/barisusakli/followers","following_url":"https://api.github.com/users/barisusakli/following{/other_user}","gists_url":"https://api.github.com/users/barisusakli/gists{/gist_id}","starred_url":"https://api.github.com/users/barisusakli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barisusakli/subscriptions","organizations_url":"https://api.github.com/users/barisusakli/orgs","repos_url":"https://api.github.com/users/barisusakli/repos","events_url":"https://api.github.com/users/barisusakli/events{/privacy}","received_events_url":"https://api.github.com/users/barisusakli/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T06:32:12Z","updated_at":"2016-05-12T06:32:12Z","body":"No problem glad you figured it out :)"}}