Open ymarcon opened 6 years ago
Comment created by @meek0:
Might also take note that if the name/acronym of the document is repeated it should not be set at all.
Comment created by @Rima-B:
There is a real difference between the current suggestion that suggests only free text and the required suggestion in the JIRA which is, in fact, a document search as in Opal
https://www.elastic.co/guide/en/elasticsearch/reference/2.4/search-suggesters.html Coupled with analyzers that could help (mica_index_analyzer is not adequate, might need something simpler). Phrase suggester might be a good starting point to test.
Jira issue originally created by user @Rima-B:
taper CLSA dans la boite de recherche de VARIABLE. Cela retourne deux labels qui contiennent le mot clsa. C'est correct de retourner ces variables, mais on doit toujours afficher le nom de la variables dans la liste des suggestions, pas juste le label. Pour n'importe quelle recherche, la suggestion doit toujours comprendre le nom de l'entité correspondante et en dessous 'l'explication', c'est a dire le match (probablement en caractere gras).
exemple. Aller a dcc.icgc.org et taper dans la grosse boite de recherche le mot BRAF; Le nom de l'entité apparait en premier avec en dessous le match en caractere gras
Donc pour Variable, afficher le name, pour Dataset/Study/Network, afficher l'acronyme