You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Mario Klaver (JIRA)" <ji...@apache.org> on 2008/12/04 12:11:44 UTC

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

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.
-
You can reply to this email to add a comment to the issue online.