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

Scott Stults commented on SOLR-3191:
------------------------------------

Right. The reason I ask is, aliases would be a decent alternative for folks who 
need field names like "1_product" should we start enforcing recommended field 
name restrictions in the schema. But there are other places in the response 
where we need to render a field name, like in facets and highlighting (I don't 
know the details of how that's done), so allowing funky aliases could have side 
effects.

There are other tickets specifically about leading digits in field names 
(SOLR-7070, SOLR-3407), so I like [~ehatcher]'s suggestion of keeping this 
focused on the exclusion list aspect and addressing field name 
enforcement/warning elsewhere.

> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to