: There is no way around using a separate Scorer for this. : You can make (could have made) the scorer by starting from : DisjunctionSumScorer.java here: : http://svn.apache.org/viewcvs.cgi/lucene/java/trunk/src/java/org/apache/lucene/search/ : and rewrite it into a DisjunctionMaxScorer.
Coincidently, this has allready been submited as a patch... http://issues.apache.org/jira/browse/LUCENE-323 ...if you use a MaxDisjunctionQuery instead of a BooleanQuery, and set the "tie breaker" to 0.0f, you should get exactly the behavior you described. (Shameless Plug: I think MaxDisjunctionQuery kicks ass, and I'd love to see see it commited, so if you find it usefull, please login to the Jira system and vote for it) -Hoss --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]