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

Munendra S N commented on SOLR-12393:
-------------------------------------

 [^SOLR-12393.patch] 
[~dsmiley]
I didn't find a way to use ReturnFields.wantsScore() while creating Collector. 
So, handling at the last step where, documents are collected. Test case passes 
but I'm not sure if this is right approach. Let me know if there is a better 
way to handle this
Also, refactored some code to throw SolrException when query/filterParsing fails

> 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, 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to