lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Király Péter <pkir...@tesuji.eu>
Subject ERROR:SCHEMA-INDEX-MISMATCH
Date Wed, 28 Oct 2009 09:54:13 GMT
Hi all,

I just try to migrate from solr-2009-09-09.zip to today's nightly build.
I found that the *_i dynamic field's type remained int but its definition
became     
<fieldType name="int" class="solr.TrieIntField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>

the older Solr schema lacks the definition of int, so I suppose, that its class is
solr.IntField. I modified the schema in two points:

  <fieldType name="integer" class="solr.IntField" omitNorms="true"/>
  <dynamicField name="*_i"  type="integer"    indexed="true"  stored="true"/>

The result becames that the search result list contains such elements:
<str name="node_id_i">ERROR:SCHEMA-INDEX-MISMATCH,stringValue=€G?</str>

Another strange thing, that
http://localhost:8983/solr/select?q=london&version=1.2
works well (with this error), but if I put &wt=json I received

HTTP ERROR: 400 
undefined field type

Do you have any idea?

Péter
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message