lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Klaver (JIRA)" <j...@apache.org>
Subject [jira] Created: (SOLR-894) Distributed Search in combination with fl=score returns inconsistent number of fields
Date Thu, 04 Dec 2008 11:11:44 GMT
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.


Mime
View raw message