lucene-dev mailing list archives

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

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

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:
For additional commands, e-mail:

View raw message