[ 
https://issues.apache.org/jira/browse/LUCENE-4925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13628284#comment-13628284
 ] 

Commit Tag Bot commented on LUCENE-4925:
----------------------------------------

[branch_4x commit] jpountz
http://svn.apache.org/viewvc?view=revision&revision=1466696

LUCENE-4925: Fix IndexSearcher.search(..., Sort, ...) (merged from r1466694).
                
> 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
>
>         Attachments: LUCENE-4925.patch
>
>
> 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