Hi Upayavira,
I have physically cleaned up the files under index directory, and re-index
did not fix the problem.
The following is an example of the field definition:
<field name="DateDep" type="tint" indexed="true" stored="true"
docValues="true" default="0" required="true"/>
and the following is the definition of tint
<fieldType name="tint" class="solr.TrieIntField" precisionStep="8"
positionIncrementGap="0"/>
For some reason, I keep getting the error message:
Caused by: java.lang.IllegalStateException: Type mismatch: DateDep was
indexed as NUMERIC
I am on Solr 4.7. I edited the out-of-box solrconfig.xml for DIH example to
include necessary libraries:
<lib dir="../../../../dist/" regex="solr-dataimporthandler-.*\.jar" />
<lib dir="../../../../contrib/extraction/lib" regex=".*\.jar" />
<lib dir="../../../../dist/" regex="solr-cell-\d.*\.jar" />
<lib dir="../../../../contrib/clustering/lib/" regex=".*\.jar" />
<lib dir="../../../../dist/" regex="solr-clustering-\d.*\.jar" />
<lib dir="../../../../contrib/langid/lib/" regex=".*\.jar" />
<lib dir="../../../../dist/" regex="solr-langid-\d.*\.jar" />
<lib dir="../../../../contrib/velocity/lib" regex=".*\.jar" />
<lib dir="../../../../dist/" regex="solr-velocity-\d.*\.jar" />
Not sure if there is something that is missing.
Thanks
--
View this message in context:
http://lucene.472066.n3.nabble.com/TrieIntField-not-working-in-Solr-4-7-tp4220744p4220840.html
Sent from the Solr - User mailing list archive at Nabble.com.