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

Searching for a term found as substring in OLS. #161

Closed
ypriverol opened this issue Feb 27, 2024 · 0 comments · Fixed by #162
Closed

Searching for a term found as substring in OLS. #161

ypriverol opened this issue Feb 27, 2024 · 0 comments · Fixed by #162
Assignees
Labels
enhancement New feature or request high-priority

Comments

@ypriverol
Copy link
Member

Currently, when searching for each term in OLS we use the function search with the option exact=on this will search all the terms where the given string is found. However, what we really want is to find the exact term in the ontology an not the substring. For example, (drosophila melanogaster) will be now returning all the ontology terms that contains drosophila not only one term.

I suggest doing the search with OLS, but also filter out the resulted results with the given term.

@ypriverol ypriverol added enhancement New feature or request high-priority labels Feb 27, 2024
@ypriverol ypriverol self-assigned this Feb 27, 2024
@ypriverol ypriverol linked a pull request Feb 27, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request high-priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant