Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When searching mulitple terms, observations containing all the terms are not returned. #110

Open
arisf opened this issue Jan 24, 2025 · 1 comment
Assignees
Labels

Comments

@arisf
Copy link
Member

arisf commented Jan 24, 2025

Consider the observation with ID = hipc-inf-ctf-32514047-5-0.

This observation contains the following two subjects:

  • myeloid suppressor cell
  • Severe acute respiratory syndrome coronavirus 2

When searching with search text:

myeloid COVID19

the search results do not include this observation, despite the fact that the first query term matches the first subject and the second query term matches the second subject.

@zhouji2013
Copy link
Member

zhouji2013 commented Jan 25, 2025

The logic of finding the observations seems not the problem. If we search "myeloid coronavirus", the observation is returned. The problem is that the subject (Severe acute respiratory syndrome coronavirus 2) can be found by searching "coronavirus", but not by searching "COVID19". I think the cause is this: although we do support searching by synonyms now, we have three different types of synonyms (Broad Synonyms, Exact Synonyms, and Related Synonyms), and currently searching only uses "Broad Synonyms". COVID19 is an "Exact Synonym". I will add Exact Synonyms in the searching process and expect that will solve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants