{"action":"created","issue":{"url":"https://api.github.com/repos/morphgnt/morphgnt-api/issues/1","labels_url":"https://api.github.com/repos/morphgnt/morphgnt-api/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/morphgnt/morphgnt-api/issues/1/comments","events_url":"https://api.github.com/repos/morphgnt/morphgnt-api/issues/1/events","html_url":"https://github.com/morphgnt/morphgnt-api/issues/1","id":115194907,"number":1,"title":"Search","user":{"login":"jcuenod","id":4253884,"avatar_url":"https://avatars.githubusercontent.com/u/4253884?v=3","gravatar_id":"","url":"https://api.github.com/users/jcuenod","html_url":"https://github.com/jcuenod","followers_url":"https://api.github.com/users/jcuenod/followers","following_url":"https://api.github.com/users/jcuenod/following{/other_user}","gists_url":"https://api.github.com/users/jcuenod/gists{/gist_id}","starred_url":"https://api.github.com/users/jcuenod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcuenod/subscriptions","organizations_url":"https://api.github.com/users/jcuenod/orgs","repos_url":"https://api.github.com/users/jcuenod/repos","events_url":"https://api.github.com/users/jcuenod/events{/privacy}","received_events_url":"https://api.github.com/users/jcuenod/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-05T02:23:19Z","updated_at":"2015-11-05T09:55:39Z","closed_at":null,"body":"It would be great to have a search api accessible (especially if it can be morphologically nuanced)."},"comment":{"url":"https://api.github.com/repos/morphgnt/morphgnt-api/issues/comments/154011213","html_url":"https://github.com/morphgnt/morphgnt-api/issues/1#issuecomment-154011213","issue_url":"https://api.github.com/repos/morphgnt/morphgnt-api/issues/1","id":154011213,"user":{"login":"jtauber","id":24426,"avatar_url":"https://avatars.githubusercontent.com/u/24426?v=3","gravatar_id":"","url":"https://api.github.com/users/jtauber","html_url":"https://github.com/jtauber","followers_url":"https://api.github.com/users/jtauber/followers","following_url":"https://api.github.com/users/jtauber/following{/other_user}","gists_url":"https://api.github.com/users/jtauber/gists{/gist_id}","starred_url":"https://api.github.com/users/jtauber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtauber/subscriptions","organizations_url":"https://api.github.com/users/jtauber/orgs","repos_url":"https://api.github.com/users/jtauber/repos","events_url":"https://api.github.com/users/jtauber/events{/privacy}","received_events_url":"https://api.github.com/users/jtauber/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T09:55:39Z","updated_at":"2015-11-05T09:55:39Z","body":"Agreed!\r\n\r\nLet's use this issue to chat about use cases and then design the API before I implement it.\r\n\r\nOne thing I find myself wanting already that's not even morphological is \"which paragraph has this particular verse?\"\r\n\r\nIt would be good to collect a bunch of use cases like this and then see what abstract query types we'll need.\r\n\r\nI think it will be straightforward to have queries of the form \"show me the words with these attributes\". \r\n\r\nWe might also wanted to support \"show me the {verses|chapters|paragraphs|books} that contain words with these attributes\".\r\n\r\nThe \"which paragraph has this verse\" is a little more unusual a pattern.\r\n\r\nThere's also the possibility of converting human readable verse references so I can type \"John 3.16\" into a form and have it resolved to /v0/verse/64003016.json or whatever.\r\n\r\nThere is a larger question of supporting something like JSONiq but that's getting into a much bigger question that I'm going to suggest is outside the scope of this particularly discussion.\r\n\r\n\r\n"}}