Solr edismax Query Parser Operators

1.5k views Asked by At

I have two queries about edismax parser --->

1.Does edismax parser support && || for AND and OR operators ? 2.Also Does is support 'not' for NOT operator like and/or for AND/OR ?

If edismax parser don't support this, how can I extend this parser and add this functionality ?

Thanks in advance. Devendra

1

There are 1 answers

3
Jayendra On BEST ANSWER

Check the JIRA SOLR-1553 for the Edismax Parser.
It does support the boolean operators check Documentation

supports queries such as AND, OR, NOT, -, and +.
treats "and" and "or" as "AND" and "OR" in Lucene syntax mode.

Also for AND the operator is +, NOT with a - and OR does not need an operator.