Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Resolved
-
3.5, 4.0-ALPHA
-
None
Description
The version of example/example-DIH/solr/db/conf/schema.xml is 1.1 (too old) where example/solr/conf/schema.xml is 1.4. I believe that it is important to keep all schema.xml up to date for newbies.
The example/example-DIH/solr/db/conf/schema.xml will be referred as primary hints for newbies because most of them may want to try import some data from their preexisting DB or something first, referring [1]. Even DataImportHandler tutorial itself can be done without problem, obsolete schema.xml may confusing for them.
Typical difference of new and old schema.xml is existence of explanation of *TrieField. Because old one's default types are solr.IntField or solr.DateField and no mention of this. Consequently, when they try range queries or boosting query based on old schema.xml, they may face unintended slow response or error.
[1] http://wiki.apache.org/solr/DataImportHandler#Full_Import_Example