You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Per Steffensen (JIRA)" <ji...@apache.org> on 2014/11/25 16:01:12 UTC

[jira] [Updated] (SOLR-6795) distrib.singlePass returns score even though not asked for

     [ https://issues.apache.org/jira/browse/SOLR-6795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Per Steffensen updated SOLR-6795:
---------------------------------
    Attachment: test_that_reveals_the_problem.patch

Attached patch (branch_5x) that change an existing test to reveal the problem. Apply the patch and run e.g. {{BasicDistributedZk2Test}}
Probably not just want to commit the changed test after a fix of the problem, but maybe we want to add the test somewhere else. In my company we have an agreement that whenever we fix a bug, we also create a test that reveals it

> distrib.singlePass returns score even though not asked for
> ----------------------------------------------------------
>
>                 Key: SOLR-6795
>                 URL: https://issues.apache.org/jira/browse/SOLR-6795
>             Project: Solr
>          Issue Type: Bug
>          Components: multicore, search
>    Affects Versions: 5.0
>            Reporter: Per Steffensen
>              Labels: distributed_search, search
>         Attachments: test_that_reveals_the_problem.patch
>
>
> If I pass distrib.singlePass in a request and do not ask for score back (fl does not include score) it will return the score back anyway.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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