Yes, the XML element names (tags) and attribute names are all case sensitive, but... Solr has a special hack for "fieldtype" as well as "fieldType".

-- Jack Krupansky

-----Original Message----- From: Alexandre Rafalovitch
Sent: Sunday, July 07, 2013 11:25 PM
To: solr-user@lucene.apache.org
Subject: Are the XML element names in schema.xml case sensitive?

I am looking at example's schema.xml and suddenly realize that it seems to
spell fieldtype definition as both fieldtype and fieldType.

XML by definition is case sensitive. But is Solr? The Wiki seems to offer
it both ways as well.

I am curious about this for all the XML files: solr.xml, schema.xml,
solrconfig.xml and dataConfig.xml (of whatever DIH uses).

Regards,
  Alex.
P.s. If anyone wants to know why I am being picky:
https://github.com/arafalov/SolrLint


Personal website: http://www.outerthoughts.com/
LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch
- Time is the quality of nature that keeps events from happening all at
once. Lately, it doesn't seem to be working. (Anonymous - via GTD book)

Reply via email to