We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It appears that the 'exact' flag in otindex calls may not be doing anything...
``` curl -X POST https://api.opentreeoflife.org/v3/studies/find_studies -H "content-type:application/json" -d '{"property":"ot:focalCladeOTTTaxonName","value":"Ilex", "exact":false, "verbose": false}'```` returns {"matched_studies": [{"ot:studyId": "ot_1984"}, {"ot:studyId": "pg_2827"}]}
curl -X POST https://api.opentreeoflife.org/v3/studies/find_studies -H "content-type:application/json" -d '{"property":"ot:focalCladeOTTTaxonName","value":"Ilix", "exact":false, "verbose": false}'
but a one letter change, or capitalization change, returns nothing.
The text was updated successfully, but these errors were encountered:
I think that it doesn't work well for short names. Otherwise the breath first search gets too slow. But @bredelings may know better
Sorry, something went wrong.
This is all in otindex - I did try with longer names and failed as well. But I think we might not do anything with the 'exact' parameter at all!
e.g.
otindex/otindex/views.py
Line 118 in cdaa0a1
That's interesting -- what would otindex used to do fuzzy matching? Is there a python module?
No branches or pull requests
It appears that the 'exact' flag in otindex calls may not be doing anything...
``` curl -X POST https://api.opentreeoflife.org/v3/studies/find_studies -H "content-type:application/json" -d '{"property":"ot:focalCladeOTTTaxonName","value":"Ilex", "exact":false, "verbose": false}'````
returns {"matched_studies": [{"ot:studyId": "ot_1984"}, {"ot:studyId": "pg_2827"}]}
curl -X POST https://api.opentreeoflife.org/v3/studies/find_studies -H "content-type:application/json" -d '{"property":"ot:focalCladeOTTTaxonName","value":"Ilix", "exact":false, "verbose": false}'
but a one letter change, or capitalization change, returns nothing.
The text was updated successfully, but these errors were encountered: