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

/api/search?q={q}&queryFields=label,synonym ignores local #623

Open
lgatto opened this issue Feb 12, 2024 · 0 comments
Open

/api/search?q={q}&queryFields=label,synonym ignores local #623

lgatto opened this issue Feb 12, 2024 · 0 comments
Labels
bug Medium priority Affects more than one ontology with mild reduction in usability

Comments

@lgatto
Copy link

lgatto commented Feb 12, 2024

Describe the bug

The two following queries produce the same results, even though the local argument is set to true and false

http://www.ebi.ac.uk/ols4/api/search?q=lymphatic&ontology=cl&local=true&rows=20
http://www.ebi.ac.uk/ols4/api/search?q=lymphatic&ontology=cl&local=false&rows=20

Expected behavior

If I understand correctly, local=true should only return terms from the CL ontology, but both return

 [1] "CL:0002554"     "CL:0002138"     "CL:0009109"     "CL:0019017"    
 [5] "CL:2000011"     "CL:0009110"     "CL:0009115"     "CL:2000041"    
 [9] "CL:4033006"     "CL:0009086"     "CL:0009107"     "CL:0009108"    
[13] "UBERON:0001473" "UBERON:0001422" "UBERON:0001425" "UBERON:0001960"
[17] "UBERON:0002042" "UBERON:0010397" "UBERON:0018227" "UBERON:0035198"
@lgatto lgatto added the bug label Feb 12, 2024
@henrietteharmse henrietteharmse added the Medium priority Affects more than one ontology with mild reduction in usability label Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Medium priority Affects more than one ontology with mild reduction in usability
Projects
None yet
Development

No branches or pull requests

2 participants