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

David Smiley updated SOLR-3207:
-------------------------------

    Fix Version/s:     (was: 4.7)
                   4.8

> Add field name validation
> -------------------------
>
>                 Key: SOLR-3207
>                 URL: https://issues.apache.org/jira/browse/SOLR-3207
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 4.0-ALPHA
>            Reporter: Luca Cavanna
>             Fix For: 4.8
>
>         Attachments: SOLR-3207.patch
>
>
> Given the SOLR-2444 updated fl syntax and the SOLR-2719 regression, it would 
> be useful to add some kind of validation regarding the field names you can 
> use on Solr.
> The objective would be adding consistency, allowing only field names that you 
> can then use within fl, sorting etc.
> The rules, taken from the actual StrParser behaviour, seem to be the 
> following: 
> - same used for java identifiers (Character#isJavaIdentifierPart), plus the 
> use of trailing '.' and '-'
> - for the first character the rule is Character#isJavaIdentifierStart minus 
> '$' (The dash can't be used as first character (SOLR-3191) for example)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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

Reply via email to