{"action":"created","issue":{"url":"https://api.github.com/repos/feathersjs/feathers-mongodb/issues/33","repository_url":"https://api.github.com/repos/feathersjs/feathers-mongodb","labels_url":"https://api.github.com/repos/feathersjs/feathers-mongodb/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/feathersjs/feathers-mongodb/issues/33/comments","events_url":"https://api.github.com/repos/feathersjs/feathers-mongodb/issues/33/events","html_url":"https://github.com/feathersjs/feathers-mongodb/issues/33","id":150590447,"number":33,"title":"Support $search","user":{"login":"ekryski","id":599019,"avatar_url":"https://avatars.githubusercontent.com/u/599019?v=3","gravatar_id":"","url":"https://api.github.com/users/ekryski","html_url":"https://github.com/ekryski","followers_url":"https://api.github.com/users/ekryski/followers","following_url":"https://api.github.com/users/ekryski/following{/other_user}","gists_url":"https://api.github.com/users/ekryski/gists{/gist_id}","starred_url":"https://api.github.com/users/ekryski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekryski/subscriptions","organizations_url":"https://api.github.com/users/ekryski/orgs","repos_url":"https://api.github.com/users/ekryski/repos","events_url":"https://api.github.com/users/ekryski/events{/privacy}","received_events_url":"https://api.github.com/users/ekryski/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-23T19:48:33Z","updated_at":"2016-05-20T06:19:14Z","closed_at":"2016-05-20T06:19:14Z","body":"This is a proposed special attribute that allows you to fuzzy match a property. Possibly even multiple properties and/or nested documents.\r\n\r\nSuggested syntax:\r\n\r\n```js\r\nname: {\r\n  $search: ['alice', 'Alice', 'bo', /$bob/i]\r\n}\r\n```\r\n\r\nFollowing similar syntax to our other special query filters, this would allow you to filter by a singular value, multiple values (treated like an **or**) and/or regular expressions directly.\r\n\r\nInternally mongodb requires a $regex query but we can fairly easily build a singular regex from this array. Another internal construct that mongodb provides is [`$text`](https://docs.mongodb.org/manual/reference/operator/query/text/) so we might be able to use that for full text search."},"comment":{"url":"https://api.github.com/repos/feathersjs/feathers-mongodb/issues/comments/220526412","html_url":"https://github.com/feathersjs/feathers-mongodb/issues/33#issuecomment-220526412","issue_url":"https://api.github.com/repos/feathersjs/feathers-mongodb/issues/33","id":220526412,"user":{"login":"daffl","id":338316,"avatar_url":"https://avatars.githubusercontent.com/u/338316?v=3","gravatar_id":"","url":"https://api.github.com/users/daffl","html_url":"https://github.com/daffl","followers_url":"https://api.github.com/users/daffl/followers","following_url":"https://api.github.com/users/daffl/following{/other_user}","gists_url":"https://api.github.com/users/daffl/gists{/gist_id}","starred_url":"https://api.github.com/users/daffl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daffl/subscriptions","organizations_url":"https://api.github.com/users/daffl/orgs","repos_url":"https://api.github.com/users/daffl/repos","events_url":"https://api.github.com/users/daffl/events{/privacy}","received_events_url":"https://api.github.com/users/daffl/received_events","type":"User","site_admin":false},"created_at":"2016-05-20T06:19:14Z","updated_at":"2016-05-20T06:19:14Z","body":"See https://github.com/feathersjs/feathers/issues/334"}}
{"actor":{"display_login":"daffl"}}