Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
4.6
-
None
-
None
-
None
-
OSX 10.9, JDK 1.7.0_25
Description
If schema.xml contains unknown tags (tag names with typos) but the document is well-formed then Solr starts without letting user know that there are some potential configuration problems. For example, here is schema.xml I had:
<fieldType name="text_engram_front" class="solr.TextField"> <avalyzer type="index"> <tokenizer class="solr.StandardTokenizerFactory"/> <filter class="solr.ICUTransformFilterFactory" id="Any-Latin;Latin-ASCII;Lower()"/> <filter class="solr.EdgeNGramFilterFactory" minGramSize="1" maxGramSize="20"/> </avalyzer> <analyzer type="query"> <!-- skipped --> </analyzer> </fieldType>
Note that index analyzer tag name is written as avalyzer (it's v instead of n). Solr would save me several hours if it logged a warning that schema.xml contains unknown tags.
Attachments
Issue Links
- duplicates
-
SOLR-1758 schema definition for configuration files (validation, XSD)
- Open