Hi,

I am a bit confused about the +/- syntax. Am I understanding it properly that 
when using the normal query handler + means required and - means prohibit where 
as in the dismax handler + means required and - means optional?

http://lucene.apache.org/java/2_9_1/queryparsersyntax.html
The "+" or required operator requires that the term after the "+" symbol exist 
somewhere in a the field of a single document.
The "-" or prohibit operator excludes documents that contain the term after the 
"-" symbol.

http://wiki.apache.org/solr/DisMaxRequestHandler
Quotes can be used to group phrases, and +/- can be used to denote mandatory 
and optional clauses ... but all other Lucene query parser special characters 
are escaped to simplify the user experience.

regards,
Lukas Kahwe Smith
m...@pooteeweet.org



Reply via email to