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

Issues with score filters in patent calls #365

Open
danidi opened this issue May 6, 2016 · 0 comments
Open

Issues with score filters in patent calls #365

danidi opened this issue May 6, 2016 · 0 comments
Assignees
Milestone

Comments

@danidi
Copy link

danidi commented May 6, 2016

Using min-score of 2, entity_type target, and pageSize all returns a list of all entities (even those that should be filtered out). The only difference is, that only _about is given for the filtered entities, all other parameters are removed.
https://beta.openphacts.org/2.1/patent/entities/pages?uri=http%3A%2F%2Frdf.ebi.ac.uk%2Fresource%2Fsurechembl%2Fpatent%2FEP-1339685-A2&app_id=f91c5b2b&app_key=18a5d823d0e4933ac5fe22a3d52974c1&min-score=2&entity_type=target&_pageSize=all&_format=json

Removing pageSize all, but keeping the min-score filter returns entities with a score less then 2 as well.
https://beta.openphacts.org/2.1/patent/entities/pages?uri=http%3A%2F%2Frdf.ebi.ac.uk%2Fresource%2Fsurechembl%2Fpatent%2FEP-1339685-A2&app_id=f91c5b2b&app_key=18a5d823d0e4933ac5fe22a3d52974c1&min-score=2&entity_type=target&_format=json

The corresponding count call works fine.

@danidi danidi added this to the 2.2 milestone Dec 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants