You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by daniel <da...@hotonline.com> on 2006/09/04 11:36:32 UTC
LuceneQueryOptimizer and empty 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 in this case we should say
query=new org.apache.lucene.search.MatchAllDocsQuery()
or perhaps
query = clauses[0].getQuery();
Cheers,
Dan
This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com
Re: LuceneQueryOptimizer and empty query
Posted by kelvin pang <ke...@gmail.com>.
can Nutch crawl the forum posts?? how to ?
pls advise,thanks!