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

Hoss Man updated SOLR-1584:
---------------------------

    Fix Version/s: 3.1
                   4.0


Correcting Fix Version based on CHANGES.txt, see this thread for more details...

http://mail-archives.apache.org/mod_mbox/lucene-dev/201005.mbox/%3calpine.deb.1.10.1005251052040.24...@radix.cryptio.net%3e

> setIncludeScore is added to the "FL" field instead of being concated
> --------------------------------------------------------------------
>
>                 Key: SOLR-1584
>                 URL: https://issues.apache.org/jira/browse/SOLR-1584
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 1.4
>            Reporter: Asaf Ary
>            Priority: Minor
>             Fix For: 1.5, 3.1, 4.0
>
>         Attachments: SOLR-1584.patch
>
>
> The current implementation of setIncludeScore(boolean) *adds* the value 
> "score" to the FL parameter.
> This causes a problem when using the setFields followed by include score.
> If I do this:
> setFields("*");
> setIncludeScore(true);
> I would expect the outcome to be "fl=*,score"
> Instead the outcome is: "fl=* &fl=score" which fails to use the score field 
> as FL is not a multi-valued field.
> The current implementation in the SolrJ SolrQuery object is:
> add("fl", "score")
> instead it should be:
> set("fl", get("fl") + ",score")
> obviously not as simplistic as that, but you catch my drift...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to