Skip to content

JARVIS-DFT Optimade API returns wrong data when using paranthesis #4

Description

@mehmetgiritli

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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