You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2014/12/08 15:06:13 UTC

[jira] [Commented] (SOLR-6826) fieldType capitalization is not consistent with the rest of case-sensitive field names

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

Erick Erickson commented on SOLR-6826:
--------------------------------------

Yeah, I'm all for consistency, and case sensitivity is somewhat hit-or-miss as you point out.

I'd be hard-pressed to advocate changing the _code_ to break on lower-case fieldtype
for instance since it'd break existing schemas (including some we went out!).

Anyway, I'll commit this this soon..

Erick

> fieldType capitalization is not consistent with the rest of case-sensitive field names
> --------------------------------------------------------------------------------------
>
>                 Key: SOLR-6826
>                 URL: https://issues.apache.org/jira/browse/SOLR-6826
>             Project: Solr
>          Issue Type: Improvement
>          Components: Schema and Analysis
>    Affects Versions: 5.0
>            Reporter: Alexandre Rafalovitch
>            Priority: Minor
>              Labels: beginners, usability
>         Attachments: SOLR-6826.patch
>
>
> For legacy reasons, both fieldtype and fieldType are acceptable in schema.xml. However, XML is case sensitive and this causes confusion when people see both fieldtype and fieldType used in official examples. 
> This causes them to assume that maybe our particular XML is not case sensitive and then they mis-case other elements, such as dynamicField, which are then silently ignored.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org