lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-2657) All fields returned if only psuedo fields are requested
Date Tue, 09 Aug 2011 23:01:27 GMT

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

Hoss Man updated SOLR-2657:
---------------------------

    Attachment: SOLR-2657-test.patch

Patch with test demonstrating the problem

> All fields returned if only psuedo fields are requested
> -------------------------------------------------------
>
>                 Key: SOLR-2657
>                 URL: https://issues.apache.org/jira/browse/SOLR-2657
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Hoss Man
>             Fix For: 4.0
>
>         Attachments: SOLR-2657-test.patch
>
>
> Koji mentioned this in a comment in SOLR-1298...
> * {{fl=}} .. returns all stored fields (expected, backcompat)
> * {{fl=*}} .. returns all stored fields (expected, backcompat)
> * {{fl=score,*}} .. returns the score psuedo field and all stored fields (expected, backcompat)
> * {{fl=score}} .. returns the score psuedo field and all stored fields (expected, backcompat)
> * {{fl=score,price}} .. returns the score psuedo field and the stored price field (expected,
backcompat)
> * {{fl=log(price)}} .. returns the log(price) psuedo field (expected)
> * {{fl=score,log(price)}} .. returns the score and log(price) psuedo fields as well as
*all* of the stored fields (*NOT EXPECTED*)
> The problem seems to be that when the entire fl is made up of psuedo fields, and one
of them is score, the legacy behavior for an fl of only score is used (instead of recognizing
that other "fields" were requested, so we should not output all stored fields

--
This message is automatically generated by JIRA.
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


Mime
View raw message