{"action":"created","issue":{"url":"https://api.github.com/repos/monarch-initiative/monarch-app/issues/1383","repository_url":"https://api.github.com/repos/monarch-initiative/monarch-app","labels_url":"https://api.github.com/repos/monarch-initiative/monarch-app/issues/1383/labels{/name}","comments_url":"https://api.github.com/repos/monarch-initiative/monarch-app/issues/1383/comments","events_url":"https://api.github.com/repos/monarch-initiative/monarch-app/issues/1383/events","html_url":"https://github.com/monarch-initiative/monarch-app/issues/1383","id":185207264,"number":1383,"title":"Back-end improvements to search results (eg. ranking, highlighting support, facet support)","user":{"login":"jmcmurry","id":3658863,"avatar_url":"https://avatars.githubusercontent.com/u/3658863?v=3","gravatar_id":"","url":"https://api.github.com/users/jmcmurry","html_url":"https://github.com/jmcmurry","followers_url":"https://api.github.com/users/jmcmurry/followers","following_url":"https://api.github.com/users/jmcmurry/following{/other_user}","gists_url":"https://api.github.com/users/jmcmurry/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcmurry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcmurry/subscriptions","organizations_url":"https://api.github.com/users/jmcmurry/orgs","repos_url":"https://api.github.com/users/jmcmurry/repos","events_url":"https://api.github.com/users/jmcmurry/events{/privacy}","received_events_url":"https://api.github.com/users/jmcmurry/received_events","type":"User","site_admin":false},"labels":[{"id":270021390,"url":"https://api.github.com/repos/monarch-initiative/monarch-app/labels/search","name":"search","color":"207de5","default":false}],"state":"open","locked":false,"assignee":{"login":"jnguyenx","id":4312088,"avatar_url":"https://avatars.githubusercontent.com/u/4312088?v=3","gravatar_id":"","url":"https://api.github.com/users/jnguyenx","html_url":"https://github.com/jnguyenx","followers_url":"https://api.github.com/users/jnguyenx/followers","following_url":"https://api.github.com/users/jnguyenx/following{/other_user}","gists_url":"https://api.github.com/users/jnguyenx/gists{/gist_id}","starred_url":"https://api.github.com/users/jnguyenx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnguyenx/subscriptions","organizations_url":"https://api.github.com/users/jnguyenx/orgs","repos_url":"https://api.github.com/users/jnguyenx/repos","events_url":"https://api.github.com/users/jnguyenx/events{/privacy}","received_events_url":"https://api.github.com/users/jnguyenx/received_events","type":"User","site_admin":false},"assignees":[{"login":"jnguyenx","id":4312088,"avatar_url":"https://avatars.githubusercontent.com/u/4312088?v=3","gravatar_id":"","url":"https://api.github.com/users/jnguyenx","html_url":"https://github.com/jnguyenx","followers_url":"https://api.github.com/users/jnguyenx/followers","following_url":"https://api.github.com/users/jnguyenx/following{/other_user}","gists_url":"https://api.github.com/users/jnguyenx/gists{/gist_id}","starred_url":"https://api.github.com/users/jnguyenx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnguyenx/subscriptions","organizations_url":"https://api.github.com/users/jnguyenx/orgs","repos_url":"https://api.github.com/users/jnguyenx/repos","events_url":"https://api.github.com/users/jnguyenx/events{/privacy}","received_events_url":"https://api.github.com/users/jnguyenx/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2016-10-25T19:10:33Z","updated_at":"2016-10-31T15:25:17Z","closed_at":null,"body":"Related to #1382, we need to cover scenarios originally mentioned #1317. We also need behave tests for each of them.\n\n| search issue | query | Top result must be | results must include | status |\n| --- | --- | --- | --- | --- |\n| **disease groups** | [Charcot-Marie ](https://beta.monarchinitiative.org/search/Charcot-Marie) | Charcot-Marie Tooth Disease (DOID:10595) |  | Needs more strategy; see instead https://github.com/monarch-initiative/monarch-app/issues/1314 |\n| **inversions** | [Marie-Charcot](https://beta.monarchinitiative.org/search/Marie-Charcot) | Charcot-Marie Tooth Disease (DOID:10595) |  | Fixed |\n| **hyphenations** | [Marie Charcot](https://beta.monarchinitiative.org/search/Marie%20Charcot) | Charcot-Marie |  | Improve ranking |\n| **exact match** | [Abnormality of the eye](https://beta.monarchinitiative.org/search/Abnormality%20of%20the%20eye) | Abnormality of the eye [phenotype] | Abnormality of the eyelid [phenotype] | desired result is ranked low |\n| **highlighting** | [Abnormality of the eye](https://beta.monarchinitiative.org/search/Abnormality%20of%20the%20eye) |  | Abnormality of the eyelid [phenotype] | Shold be **Abnormality of the eye**lid not **Abnormality of the eyelid** |\n| **wildcard stemming** | [Pax](https://beta.monarchinitiative.org/search/Pax) |  | Pax6, Pax4, paxillin etc | [see #1313] working except for highlights |\n| **curie** | [HP:0000452](https://beta.monarchinitiative.org/search/HP:0000452) | HP:0000452 |  | Improve ranking |\n| **fuzzy curie** | [HPO:0000452](https://beta.monarchinitiative.org/search/HPO:0000452) | HP:0000452 |  | Improve ranking |\n| **curie** | [ncbigene:6622](https://beta.monarchinitiative.org/search/ncbigene%3A6622) | ncbigene:6622 |  | Improve ranking |\n| **fuzzy curie** | [gene:6622](https://beta.monarchinitiative.org/search/gene%3A6622) | ncbigene:6622 |  | Improve ranking |\n| **punctuation** | [15q13.3](https://beta.monarchinitiative.org/search/15q13.3) | chromosome 15q13.3 microdeletion syndrome |  | Fixed |\n| **Species query special processing** | [snca frog](https://beta.monarchinitiative.org/search/snca%20frog) | snca Xenopus (NCBIGene:100038302) | SNCA human (?) see below | Fixed |\n| **Rank human genes first** (if lexically equivalent) | [LHX1](https://beta.monarchinitiative.org/search/lhx1) | human lHX1(NCBIGene:3975) |  | Ranked 20th |\n| **Include gene name, not just symbol** | [LHX1](https://beta.monarchinitiative.org/search/lhx1) | human lHX1(NCBIGene:3975) |  | Result blob for NCBIGene:3975 should include \"LIM homeobox 1\" not just \"LHX1\" |\n- [ ] Results must be returned in a way that supports faceting across **all** of the results, not just those on the first page. We can't write a behave test as those counts are likely to change based on the data. Perhaps though we could say category results greater than X? @kltm curious what you think.\n  - [ ] Species (lay terms where possible (human, mouse, horse, cattle, chicken, fish, worm, etc)\n  - [ ] Search results type: \n    - Disease\n    - Disease group\n    - Gene\n    - Pathway\n    - Gene group [species agnostic pending other improvements]\n    - Model [pending indexing of genotypes]\n    - Literature [pending indexing of literature]; not even sure about this one, feedback welcome\n    - Case [eg. UDN pages etc]; again here, not sure this is a useful search facet. Not sure how often people would be searching for a specific case.\n\nBecause the search axes in the facets are disjoint by definition, don't worry about supporting checkbox-style or ternary queries unless it is dead easy. We can revisit.\n"},"comment":{"url":"https://api.github.com/repos/monarch-initiative/monarch-app/issues/comments/257324478","html_url":"https://github.com/monarch-initiative/monarch-app/issues/1383#issuecomment-257324478","issue_url":"https://api.github.com/repos/monarch-initiative/monarch-app/issues/1383","id":257324478,"user":{"login":"yuanzhou","id":195873,"avatar_url":"https://avatars.githubusercontent.com/u/195873?v=3","gravatar_id":"","url":"https://api.github.com/users/yuanzhou","html_url":"https://github.com/yuanzhou","followers_url":"https://api.github.com/users/yuanzhou/followers","following_url":"https://api.github.com/users/yuanzhou/following{/other_user}","gists_url":"https://api.github.com/users/yuanzhou/gists{/gist_id}","starred_url":"https://api.github.com/users/yuanzhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuanzhou/subscriptions","organizations_url":"https://api.github.com/users/yuanzhou/orgs","repos_url":"https://api.github.com/users/yuanzhou/repos","events_url":"https://api.github.com/users/yuanzhou/events{/privacy}","received_events_url":"https://api.github.com/users/yuanzhou/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T15:25:17Z","updated_at":"2016-10-31T15:25:17Z","body":"Do we consider missing taxon info of some search results as a data issue?"}}
{"actor":{"display_login":"yuanzhou"}}