lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Bialecki (JIRA)" <>
Subject [jira] Commented: (LUCENE-2482) Index sorter
Date Thu, 27 May 2010 21:11:37 GMT


Andrzej Bialecki  commented on LUCENE-2482:

Re: combination of fields + a comparator: sure, why not, take a look at the implementation
of the DocScore inner class - you can stuff whatever you want there.

I'm not sure if I follow your use case though ... please remember that this re-sorting is
applied exactly the same to all postings, so savings on one list may cause bloat on another

> Index sorter
> ------------
>                 Key: LUCENE-2482
>                 URL:
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: contrib/*
>    Affects Versions: 3.1
>            Reporter: Andrzej Bialecki 
>             Fix For: 3.1
>         Attachments: indexSorter.patch
> A tool to sort index according to a float document weight. Documents with high weight
are given low document numbers, which means that they will be first evaluated. When using
a strategy of "early termination" of queries (see TimeLimitedCollector) such sorting significantly
improves the quality of partial results.
> (Originally this tool was created by Doug Cutting in Nutch, and used norms as document
weights - thus the ordering was limited by the limited resolution of norms. This is a pure
Lucene version of the tool, and it uses arbitrary floats from a specified stored field).

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message