Hi,
Using parenthesis around an Optimade filter in the query returns wrong results, and returns almost like the entire database.
Here is an example with a very simple Optimade filter: elements HAS ALL "H"
Produces irrelevant results with 979637 items:
https://jarvis.nist.gov/optimade/jarvisdft/v1/structures/?filter=(elements+HAS+ALL+%22H%22)
Produces correct results with 21 items:
https://jarvis.nist.gov/optimade/jarvisdft/v1/structures/?filter=elements+HAS+ALL+%22H%22
Thanks
Hi,
Using parenthesis around an Optimade filter in the query returns wrong results, and returns almost like the entire database.
Here is an example with a very simple Optimade filter: elements HAS ALL "H"
Produces irrelevant results with 979637 items:
https://jarvis.nist.gov/optimade/jarvisdft/v1/structures/?filter=(elements+HAS+ALL+%22H%22)
Produces correct results with 21 items:
https://jarvis.nist.gov/optimade/jarvisdft/v1/structures/?filter=elements+HAS+ALL+%22H%22
Thanks