{"action":"created","issue":{"url":"https://api.github.com/repos/massiveart/MassiveSearchBundle/issues/18","labels_url":"https://api.github.com/repos/massiveart/MassiveSearchBundle/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/massiveart/MassiveSearchBundle/issues/18/comments","events_url":"https://api.github.com/repos/massiveart/MassiveSearchBundle/issues/18/events","html_url":"https://github.com/massiveart/MassiveSearchBundle/pull/18","id":55607643,"number":18,"title":"Feature/rest api","user":{"login":"dantleech","id":530801,"avatar_url":"https://avatars.githubusercontent.com/u/530801?v=3","gravatar_id":"","url":"https://api.github.com/users/dantleech","html_url":"https://github.com/dantleech","followers_url":"https://api.github.com/users/dantleech/followers","following_url":"https://api.github.com/users/dantleech/following{/other_user}","gists_url":"https://api.github.com/users/dantleech/gists{/gist_id}","starred_url":"https://api.github.com/users/dantleech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dantleech/subscriptions","organizations_url":"https://api.github.com/users/dantleech/orgs","repos_url":"https://api.github.com/users/dantleech/repos","events_url":"https://api.github.com/users/dantleech/events{/privacy}","received_events_url":"https://api.github.com/users/dantleech/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/massiveart/MassiveSearchBundle/labels/review","name":"review","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"dantleech","id":530801,"avatar_url":"https://avatars.githubusercontent.com/u/530801?v=3","gravatar_id":"","url":"https://api.github.com/users/dantleech","html_url":"https://github.com/dantleech","followers_url":"https://api.github.com/users/dantleech/followers","following_url":"https://api.github.com/users/dantleech/following{/other_user}","gists_url":"https://api.github.com/users/dantleech/gists{/gist_id}","starred_url":"https://api.github.com/users/dantleech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dantleech/subscriptions","organizations_url":"https://api.github.com/users/dantleech/orgs","repos_url":"https://api.github.com/users/dantleech/repos","events_url":"https://api.github.com/users/dantleech/events{/privacy}","received_events_url":"https://api.github.com/users/dantleech/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-01-27T11:44:40Z","updated_at":"2015-02-27T07:02:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/massiveart/MassiveSearchBundle/pulls/18","html_url":"https://github.com/massiveart/MassiveSearchBundle/pull/18","diff_url":"https://github.com/massiveart/MassiveSearchBundle/pull/18.diff","patch_url":"https://github.com/massiveart/MassiveSearchBundle/pull/18.patch"},"body":"This PR adds a Doctrine ORM subscriber, REST API and ExpressionLanaugage and *numerous other* features facilitating the creation of an independent back office search.\r\n\r\n- Added Doctrine ORM subscriber will automatically index/deindex mapped ORM documents.\r\n- `massive:search:index:rebuild` command which rebuilds both the ORM and third-party (i.e. Sulu) implementations)\r\n- Introduction of a REST API to provide a simple controller to perform a search query using parameters `query`, `index` and `locale` and receieve a JSON response.\r\n- Introduction of multiple search *contexts* for each mapped object, possiblity to index things differently for back or front office searches.\r\n- Added behat tests\r\n\r\nTodo\r\n\r\n- [x] API to retrieve valid indexes (or maybe that should be defined elsewhere?)\r\n- [x] ORM subscriber DI Configuration + tag\r\n- [x] Expression language support (for generating URLs)\r\n- [x] Context support (in the mapping)\r\n\r\n- Docs in separate PR: https://github.com/massiveart/MassiveSearchBundle/pull/20"},"comment":{"url":"https://api.github.com/repos/massiveart/MassiveSearchBundle/issues/comments/76348333","html_url":"https://github.com/massiveart/MassiveSearchBundle/pull/18#issuecomment-76348333","issue_url":"https://api.github.com/repos/massiveart/MassiveSearchBundle/issues/18","id":76348333,"user":{"login":"dantleech","id":530801,"avatar_url":"https://avatars.githubusercontent.com/u/530801?v=3","gravatar_id":"","url":"https://api.github.com/users/dantleech","html_url":"https://github.com/dantleech","followers_url":"https://api.github.com/users/dantleech/followers","following_url":"https://api.github.com/users/dantleech/following{/other_user}","gists_url":"https://api.github.com/users/dantleech/gists{/gist_id}","starred_url":"https://api.github.com/users/dantleech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dantleech/subscriptions","organizations_url":"https://api.github.com/users/dantleech/orgs","repos_url":"https://api.github.com/users/dantleech/repos","events_url":"https://api.github.com/users/dantleech/events{/privacy}","received_events_url":"https://api.github.com/users/dantleech/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T07:02:19Z","updated_at":"2015-02-27T07:02:19Z","body":"Build failure is an easy fix"}}