: I recently wondered, : why lucene's default conjunction operator is "OR". : Is there a historical reason for that?
The only 'default' is in the query parser -- if you construct the BooleanQueyr objects programatically you must always be explicit about the Occur property of each Clause. In the parser the default is "OR" aka "SHOULD" because the prefix operator syntax has no operator for "SHOULD" ... "+" => MUST "-" => MUST_NOT, absense of an operator => "SHOULD" -Hoss http://www.lucidworks.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org