lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Penning <dpenn...@net-com.de>
Subject improve performance of "AND-queries"
Date Thu, 23 Oct 2003 08:43:29 GMT
Hi

The performance of queries using AND (and +) could be greatly improved.

Example:
title:"The Right Way"                 -> 10 hits
text:go                               -> 100 hits
title:"The Right Way" AND text:go     -> 5 hits

It looks like both parts of the query are executed seperatly and then
they are merged. If Lucene would be able to execute the query with
less results (text:go) first and then only check if the second part
(title:"The Right Way") matches, those queries would be much faster.


Daniel Penning


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message