Andrzej Bialecki wrote:
Shouldn't this be combined with a HitCollector that collects only the first-n matches? Otherwise we still need to scan the whole posting list...

Yes.  I was just posting the work-in-progress.

We will also need to estimate the total number of matches by extrapolating linearly from the maximum doc id processed. Finally, it is probably rather slow for large indexes, whose .fdt won't fit in memory. A simple way to improve that might be to use Similarity.floatToByte-encoded floats when sorting (e.g., the norm from an untokenized field) so that documents whose boosts are close are not re-ordered. I'll start work on these in the morning. (It is currently my middle-of-night.)

Doug


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to