You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (JIRA)" <ji...@apache.org> on 2013/02/20 00:51:12 UTC

[jira] [Closed] (SOLR-894) Distributed Search in combination with fl=score returns inconsistent number of fields

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

Jan Høydahl closed SOLR-894.
----------------------------

    Resolution: Cannot Reproduce

Closing old issue, please re-open if necessary. Have not seen this bug in recent versions
                
> Distributed Search in combination with fl=score returns inconsistent number of fields
> -------------------------------------------------------------------------------------
>
>                 Key: SOLR-894
>                 URL: https://issues.apache.org/jira/browse/SOLR-894
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 1.3
>         Environment: Setup distributed search
>            Reporter: Mario Klaver
>            Priority: Minor
>
> 1) http://localhost:8983/solr/select?indent=true&q=ipod+solr     
> ==> Returns all configured fields
> 2) http://localhost:8983/solr/select?indent=true&q=ipod+solr&fl=score     
> ==> Returns all configured fields + score
> 3) http://localhost:8983/solr/select?shards=localhost:8983/solr,localhost:7574/solr&indent=true&q=ipod+solr
> ==> Returns all configured fields
> 4) http://localhost:8983/solr/select?shards=localhost:8983/solr,localhost:7574/solr&indent=true&q=ipod+solr&fl=score
> ==> Returns unique ID and score field
> Result 4) is inconsistent with result 2).
> Solutions:
> 1) Request 2) will only return score (in this case, also the java client needs to be updated (query.addScoreField(true))
> 2) Request 4) will return all configured fields including score

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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