I'm confused, you say it's working but then cite the same issue.
Recover your index? Did you somehow update your index using those
error strings? Did you back up your index before upgrading?
Erik
On Feb 24, 2010, at 5:06 AM, deepak agrawal wrote:
Hi,
Thanks for the solution....
Now its working..
But can you please help me how can i recover my old index which is
having
the fields -
*<doc>
<str name="A">ERROR:SCHEMA-INDEX-MISMATCH,stringValue=4194304</str>
<str name="C">ERROR:SCHEMA-INDEX-MISMATCH,stringValue=0</str>
<str name="E">ERROR:SCHEMA-INDEX-MISMATCH,stringValue=4</str>
<str name="I">ERROR:SCHEMA-INDEX-MISMATCH,stringValue=78</str>
<str name="P">ERROR:SCHEMA-INDEX-MISMATCH,stringValue=5</str>
<str name="S">ERROR:SCHEMA-INDEX-MISMATCH,stringValue=228</str>
</doc>*
On Wed, Feb 24, 2010 at 2:56 PM, Erik Hatcher
<erik.hatc...@gmail.com>wrote:
The "long" field type changed from 1.3 to 1.4. Set your fields to
be of
type "plong", and add the plong field type to your schema:
<fieldType name="plong" class="solr.LongField" omitNorms="true"/>
You'll see more about this in Solr's example schema.xml comments.
Erik
On Feb 24, 2010, at 3:15 AM, deepak agrawal wrote:
Hi,
I upgrade Solr v1.3 to v1.4 but in new version i still use the old
index.
I changed the new schema with old fields also.
I have fields in my schema -
<field name="C" type="long" indexed="true" stored="true"/>
<field name="P" type="long" indexed="true" stored="true"/>
<field name="S" type="long" indexed="true" stored="true"/>
<field name="E" type="long" indexed="true" stored="true"/>
<field name="I" type="long" indexed="true" stored="true"/>
<field name="A" type="long" indexed="true" stored="true"/>
but after upgarding when i am searching i got the reult like this -
*<doc>
<str name="A">ERROR:SCHEMA-INDEX-MISMATCH,stringValue=4194304</str>
<str name="C">ERROR:SCHEMA-INDEX-MISMATCH,stringValue=0</str>
<str name="E">ERROR:SCHEMA-INDEX-MISMATCH,stringValue=4</str>
<str name="I">ERROR:SCHEMA-INDEX-MISMATCH,stringValue=78</str>
<str name="P">ERROR:SCHEMA-INDEX-MISMATCH,stringValue=5</str>
<str name="S">ERROR:SCHEMA-INDEX-MISMATCH,stringValue=228</str>
</doc>*
Please help me why this error is coming and how i can i solve this
problem
and how can i use the old index in Solr v1.4.
--
DEEPAK AGRAWAL
+91-9379433455
GOOD LUCK.....
--
DEEPAK AGRAWAL
+91-9379433455
GOOD LUCK.....