Skip to content

no fuzzy matching? #52

@snacktavish

Description

@snacktavish

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions