Hello!

Add the following field to your schema.xml file to the fields
sections:

<field name="_version_" type="long" indexed="true" stored="true"/>

-- 
Regards,
 Rafał Kuć
 Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch

> Hello guys

> thank you for your input. I now took the schema from the trunk. This helped
> me: <schema name="nutch" version="1.5"> I had another version which has the
> version number 1.5.1.
> I changed EnglishPorterFilter to PorterStemFilterFactory. But I still keep
> failing at starting up solr. Following error:

> Nov 12, 2012 1:55:58 PM org.apache.solr.update.UpdateLog init
> SEVERE: Unable to use updateLog: _version_field must exist in schema, using
> indexed="true" stored="true" and multiValued="false" (_version_ does not
> exist)
> org.apache.solr.common.SolrException: _version_field must exist in schema,
> using indexed="true" stored="true" and multiValued="false" (_version_ does
> not exist)

> Do I have to add a _version_ field? where do I put that?

> Regards
> Antony

Reply via email to