Adrien Grand created LUCENE-4925:
------------------------------------

             Summary: IndexSearcher.search is broken when 
IndexSearcher.executor != null and the sort contains SortField.FIELD_SCORE
                 Key: LUCENE-4925
                 URL: https://issues.apache.org/jira/browse/LUCENE-4925
             Project: Lucene - Core
          Issue Type: Bug
    Affects Versions: 4.2.1
            Reporter: Adrien Grand
            Assignee: Adrien Grand
             Fix For: 4.3


When executor != null, IndexSearcher performs two passes to compute the top 
docs. This doesn't work when the sort contains SortField.FIELD_SCORE because 
the second pass doesn't have access to scores computed in the first pass.  
Since search(...) doesn't compute scores when there is a sort, they are all 
Float.NaN.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to