I would start with the sample 8.x schema and port your fields into that.

I’m doing a bunch of migrations from 4.10.4 and 6.6.2 and doing that
for both schema.xml and solrconfig.xml.

wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/  (my blog)

> On Apr 23, 2021, at 3:09 AM, shacky <shack...@gmail.com> wrote:
> 
> Hi,
> I'm creating a new core on a newly installed Solr 8.8.2 and I'm trying to
> porting my very old schema which I was using on my previous Solr 1.4
> installation.
> 
> On my old schema I removed some deprecated field types and the deprecated
> parameter "enablePositionIncrements" plus the "defaultSearchField" and the
> "solrQueryParser/@defaultOperator".
> 
> Now Solr is reporting that the _version_ field is missing:
> 
> =========================================================
> Error CREATEing SolrCore 'newcore': Unable to create core [newcore] Caused
> by: _version_ field must exist in schema and be searchable (indexed or
> docValues) and retrievable(stored or docValues) and not multiValued
> (_version_ not retrievable
> =========================================================
> 
> This happens even if I've already added the _version_ field into the schema:
> 
> =========================================================
> <field name="_version_" type="long" indexed="true" stored="false"/>
> =========================================================
> 
> Could you help me please?
> 
> Thank you very much!
> Bye

Reply via email to