You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2018/05/23 19:56:00 UTC
[jira] [Commented] (SOLR-12393) ExpandComponent only calculates the
score of expanded docs when sorted by score
[ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org