lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McKinley (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SOLR-2657) All fields returned if only psuedo fields are requested
Date Mon, 15 Aug 2011 00:53:28 GMT

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

Ryan McKinley resolved SOLR-2657.
---------------------------------

    Resolution: Fixed
      Assignee: Ryan McKinley

Added in rev 1157687
http://svn.apache.org/viewvc?view=revision&revision=1157687

See SOLR-2712 about removing this behavior


> 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
>            Assignee: Ryan McKinley
>             Fix For: 4.0
>
>         Attachments: SOLR-2657-test.patch, 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