lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wwang525 <>
Subject Re: TrieIntField not working in Solr 4.7 ?
Date Tue, 04 Aug 2015 20:14:57 GMT
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"

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.


View this message in context:
Sent from the Solr - User mailing list archive at

View raw message