lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukas Kahwe Smith <>
Subject optional vs. probhibited aka standard vs. dismax handler
Date Tue, 29 Jun 2010 07:41:04 GMT

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

Lukas Kahwe Smith

View raw message