Ranges are converted into Lucene filters and can thus not be used alone,
but only in conjunction with some other non-range query term.
RangeQuery is not efficient, since it can expand into thousands (or
more) query terms. If you want to see all documents in a date range,
then perhaps try something like "url:http date:19000101-20051231".
Doug
smith learner wrote:
I found the reason that causes this problem.
In file LuceneQueryOptimizer, there is a method called
public TopDocs optimize(BooleanQuery original,
Searcher searcher, int
numHits, String sortField, boolean reverse)
There is a block processing range query. That's the
place that prevents using range query alone.
So, I'd like to know why not to add range query into
the query variable? why not to change range query's
boost back to 1.0f (the range query boost value is set
to 0.0f in DateQueryFilter)?
Is this purpose or a bug?
Regards,
smith.
--- smith learner <[EMAIL PROTECTED]> wrote:
I use nutch0.7. I tried to search with keyword
date:19000101-20051231. Nutch returns 0 entries
matched.
I am sure that i added index-more plugin and
query-more plugin.
Did anybody meet the same problem before?
Can anybody tell me where i am wrong or if this is
supoosed to be?
Thanks in advance!
smith.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software
Conference & EXPO
September 19-22, 2005 * San Francisco, CA *
Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects
& Teams * Testing & QA
Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com