[ 
https://issues.apache.org/jira/browse/SOLR-3191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13832648#comment-13832648
 ] 

Robert Muir commented on SOLR-3191:
-----------------------------------

the abstract ReturnFields should not have constants. its abstract, it has no 
syntax. that stuff needs to be moved to an implementation class.

Separately, SolrReturnFields.java i think has already reached the limit where 
its totally un-understandable. The original discussion on this issue talked 
about having a separate implementation, but it seems instead it was all piled 
into ReturnFields.

What to do about fields that actually start with "-" ? Remember, not everyone 
uses the lucene query parser. The assumptions listed on the beginning of this 
issue about that are totally wrong.

I think we should make the ReturnFields implementation something that can be 
plugged into the solrconfig without writing java code and provide alternatives 
(for example: one that is simple and where the code can be understood)


> field exclusion from fl
> -----------------------
>
>                 Key: SOLR-3191
>                 URL: https://issues.apache.org/jira/browse/SOLR-3191
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Luca Cavanna
>            Assignee: Shalin Shekhar Mangar
>            Priority: Minor
>         Attachments: 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.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to