You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by daniel rosher <da...@hotonline.com> on 2006/09/01 17:22:22 UTC

LuceneQueryOptimizer and no query

Hi,

I have a question about LuceneQueryOptimizer.optimize()

If the loop that goes through the original boolean clauses ends up with
each BooleanClause being translated into a filter, then dosen't this
mean that there will be no query?

Does this mean we might in this case  say 
query=new org.apache.lucene.search.MatchAllDocsQuery() so that the
filters determine the result set?

Cheers,
Dan




This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com