[
https://issues.apache.org/jira/browse/SOLR-6612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14227880#comment-14227880
]
Carl Tremblay commented on SOLR-6612:
-------------------------------------
Found a small issue with the patch. When doing a query returning no documents
on more than one collection the maxScore=0 is included see example query:
http://localhost:8983/solr/collection1/select?q=lkjhgfdsa&fl=docId&wt=json&indent=true&collection=collection1,collection2
Used random string for the query to return no documents.
> maxScore included in distributed search results even if score not requested
> ---------------------------------------------------------------------------
>
> Key: SOLR-6612
> URL: https://issues.apache.org/jira/browse/SOLR-6612
> Project: Solr
> Issue Type: Bug
> Affects Versions: 4.10.1
> Reporter: Steve Molloy
> Priority: Minor
> Attachments: SOLR-6612.patch
>
>
> When performing a search on a single core, maxScore is only included in
> response if scores were specifically requested (fl=*,score). In distributed
> searches however, maxScore is always part of results wether or not the scores
> were requested. The behaviour should be the same whether the search is
> distributed or not.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]