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

David Smiley commented on SOLR-12393:
-------------------------------------

This test exposes the problem.  The fix is probably straight-forward in 
ExpandComponent when the collector is created.  It ought to consider 
ReturnFields.wantsScore().

> ExpandComponent only calculates the score of expanded docs when sorted by 
> score
> -------------------------------------------------------------------------------
>
>                 Key: SOLR-12393
>                 URL: https://issues.apache.org/jira/browse/SOLR-12393
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SearchComponents - other
>            Reporter: David Smiley
>            Priority: Major
>         Attachments: SOLR-12393.patch
>
>
> If you use the ExpandComponent to show expanded docs and if you want the 
> score back (specified in "fl"), it will be NaN if the expanded docs are 
> sorted by anything other than the default score descending.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to