: Basically for queries such as field1:foo AND field2:*bar, I think it
: would be highly beneficial to restrict evaluation of the second field on
: the result of the first to avoid scanning the index in its entirety due
: to the leading wildcard.

This is exactly how the BooleanQuery class in Lucene works.

Please note the logic in ConjunctionScorer and BooleanScorer2 (how much 
optimizing can be done depends on wether all of the clauses are required 
or not)

-Hoss

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to