[
https://issues.apache.org/jira/browse/SOLR-6826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexandre Rafalovitch updated SOLR-6826:
----------------------------------------
Attachment: SOLR-6826.patch
I have updated all the schema definitions and a couple of refering comments to
consistently use fieldType everywhere.
The code will still accept fieldtype if used, but at least all user examples
are consistent.
I could not find the specific test that would check for this, but all the
general tests (ant test) pass.
> 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: [email protected]
For additional commands, e-mail: [email protected]