[
https://issues.apache.org/jira/browse/SOLR-3191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Scott Stults updated SOLR-3191:
-------------------------------
Attachment: SOLR-3191.patch
I updated this patch to work on trunk. A couple of things that didn't seem to
work with the last patch were:
* When a field is requested both in its bare form as well as with an alias
(e.g. "fl=id,myid:id") the bare form was discarded
* When fl only contains invalid transformers and aliased exclusion globs, the
behavior was expected to be as if * were requested.
I was able to get the first case to work by adding the requested aliases to a
separate list and then applying the RenameFieldTransformer copy argument
selectively.
The second case seems really fringe so the best course might be to open it as a
separate Jira later if necessary.
> field exclusion from fl
> -----------------------
>
> Key: SOLR-3191
> URL: https://issues.apache.org/jira/browse/SOLR-3191
> Project: Solr
> Issue Type: Improvement
> Reporter: Luca Cavanna
> Priority: Minor
> Attachments: SOLR-3191.patch, SOLR-3191.patch, SOLR-3191.patch,
> SOLR-3191.patch
>
>
> I think it would be useful to add a way to exclude field from the Solr
> response. If I have for example 100 stored fields and I want to return all of
> them but one, it would be handy to list just the field I want to exclude
> instead of the 99 fields for inclusion through fl.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]