What is the philosophy about the 3.x branch? This is an all-new feature added to 3.x.

Andrzej Bialecki (JIRA) wrote:
      [ 
https://issues.apache.org/jira/browse/LUCENE-2482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrzej Bialecki  resolved LUCENE-2482.
---------------------------------------

     Resolution: Fixed

Committed in rev. 998948.

Index sorter
------------

                 Key: LUCENE-2482
                 URL: https://issues.apache.org/jira/browse/LUCENE-2482
             Project: Lucene - Java
          Issue Type: New Feature
          Components: contrib/*
    Affects Versions: 3.1
            Reporter: Andrzej Bialecki
            Assignee: 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).

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to