diff options
author | Munyoki Kilyungi | 2024-08-09 12:45:31 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2024-08-09 12:45:31 +0300 |
commit | e461356dcfebd0502029cab713e0b88dd066107a (patch) | |
tree | 288d8b463d3d01d52c0319dc86fba716ecd49435 | |
parent | 3cf41c773e5f11e0f063c03f53e036561bfbd571 (diff) | |
download | gn-gemtext-e461356dcfebd0502029cab713e0b88dd066107a.tar.gz |
Update issue with more context.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r-- | issues/search-for-brca.gmi | 35 |
1 files changed, 29 insertions, 6 deletions
diff --git a/issues/search-for-brca.gmi b/issues/search-for-brca.gmi index c42c745..cef8089 100644 --- a/issues/search-for-brca.gmi +++ b/issues/search-for-brca.gmi @@ -1,10 +1,33 @@ -# Search for brca +# Search Improvements: capital insensitive search for RIF+WIKI; Examples -* assigned: arun +## Tags -Search for brca does not return results for brca1 and brca2. It should. -=> https://cd.genenetwork.org/gsearch?type=gene&terms=brca +* assigned: bonfacem, rookie101 +* priority: high +* type: ops +* keywords: virtuoso -The xapian stemmer does not stem brca1 to brca. That's why when one searches for brca, results for brca1 are not returned. +## Description -Perhaps we should write a custom stemmer that stems brca1 to brca. But, at the same time, we should be wary of stemming terms like p450 to p. Pjotr suggests the heuristic that we look for at least 2 or 3 alphabetic characters at the beginning. Another approach is to hard-code a list of candidates to look for. +RIF search is finally working on production: + +> rif:Brca2 and group:BXD + +and capital insentive search too for the BXD. See: + +=> https://github.com/genenetwork/genenetwork3/commit/4b2e9f3fb3383421d7a55df5399aab71e0cc3b4f Stem group field regardless of case. +=> https://github.com/genenetwork/genenetwork3/commit/a37622b466f9f045db06a6f07e88fcf81b176f91 Stem all the time. + +## Questions: + +* How do we search genewiki data? + +* rif:Brca2 should also be RIF:Brca2 (prefer the latter if we have to +choose as that is what people will try) + +* Can we continue giving examples at + +=> https://genenetwork.org/search-syntax search syntax + +I.e. update the text please with all forms so people don't have to +guess/look elsewhere. |