{"action":"created","issue":{"url":"https://api.github.com/repos/c2corg/v6_api/issues/82","labels_url":"https://api.github.com/repos/c2corg/v6_api/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/c2corg/v6_api/issues/82/comments","events_url":"https://api.github.com/repos/c2corg/v6_api/issues/82/events","html_url":"https://github.com/c2corg/v6_api/pull/82","id":118841600,"number":82,"title":"Add search with ElasticSearch","user":{"login":"tsauerwein","id":266474,"avatar_url":"https://avatars.githubusercontent.com/u/266474?v=3","gravatar_id":"","url":"https://api.github.com/users/tsauerwein","html_url":"https://github.com/tsauerwein","followers_url":"https://api.github.com/users/tsauerwein/followers","following_url":"https://api.github.com/users/tsauerwein/following{/other_user}","gists_url":"https://api.github.com/users/tsauerwein/gists{/gist_id}","starred_url":"https://api.github.com/users/tsauerwein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsauerwein/subscriptions","organizations_url":"https://api.github.com/users/tsauerwein/orgs","repos_url":"https://api.github.com/users/tsauerwein/repos","events_url":"https://api.github.com/users/tsauerwein/events{/privacy}","received_events_url":"https://api.github.com/users/tsauerwein/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-11-25T13:58:23Z","updated_at":"2015-12-03T15:07:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/c2corg/v6_api/pulls/82","html_url":"https://github.com/c2corg/v6_api/pull/82","diff_url":"https://github.com/c2corg/v6_api/pull/82.diff","patch_url":"https://github.com/c2corg/v6_api/pull/82.patch"},"body":"- [x] Set up schema/mapping\r\n- [x] Script to fill index from database (for migration and rebuild the index in case of a crash)\r\n- [x] Sync index on update/insert document (for now synchronously)\r\n- [x] Search web-service `/search`\r\n  - [x] ~~Paging~~ (not required for the simple search, only for advanced search)\r\n  - [x] Different document types\r\n- [ ] Fine-tune search (fuzziness, preferred language, search for names, multiple search words)\r\n- [x] Set up ES on Travis\r\n- [x] Remove bbcodes before sending to ES (or use a [pattern_replace char filter](https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-pattern-replace-charfilter.html)?)\r\n- [x] Fix tests (currently the search index in not synced in the tests because the transaction is not committed in the test environment)\r\n\r\ncloses #81 "},"comment":{"url":"https://api.github.com/repos/c2corg/v6_api/issues/comments/161668699","html_url":"https://github.com/c2corg/v6_api/pull/82#issuecomment-161668699","issue_url":"https://api.github.com/repos/c2corg/v6_api/issues/82","id":161668699,"user":{"login":"gberaudo","id":7294662,"avatar_url":"https://avatars.githubusercontent.com/u/7294662?v=3","gravatar_id":"","url":"https://api.github.com/users/gberaudo","html_url":"https://github.com/gberaudo","followers_url":"https://api.github.com/users/gberaudo/followers","following_url":"https://api.github.com/users/gberaudo/following{/other_user}","gists_url":"https://api.github.com/users/gberaudo/gists{/gist_id}","starred_url":"https://api.github.com/users/gberaudo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gberaudo/subscriptions","organizations_url":"https://api.github.com/users/gberaudo/orgs","repos_url":"https://api.github.com/users/gberaudo/repos","events_url":"https://api.github.com/users/gberaudo/events{/privacy}","received_events_url":"https://api.github.com/users/gberaudo/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T15:07:07Z","updated_at":"2015-12-03T15:07:07Z","body":"@tsauerwein, I will have a quick look now."}}