Possible for users to specify logical operators (OR. AND) in a field applied to a query?

I’m building an app to search scientific documents. The abstract from such articles is indexed as a text field. A web front end has input text field to specify keywords which are used in a match query with standard analyzer to find best documents.

It may be that some users such to specify logical operators in the text field, e.g. (vaccine AND protein) OR pandemic.

Is there any standard feature to understand presence of these operators in the user specified search term with Elasticsearch so I don’t need to do the parsing myself?

Appreciate any guidance

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.