solredismaxquery-parser

Solr edismax Query Parser Operators


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


Solution

  • 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.