Re: _version_ field missing in schema?

2019-01-23 Thread Aleksandar Dimitrov
approach. If you have both, schema.xml will be ignored. I suspect you are not running with the schema you think you do. You can check that with API or in Admin UI if you get that far. Regards, Alex On Tue, Jan 22, 2019, 11:39 AM Aleksandar Dimitrov < a.dimit...@seidemann-web.com wr

_version_ field missing in schema?

2019-01-22 Thread Aleksandar Dimitrov
Hi, I'm using solr 7.5, in my schema.xml I have this, which I took from the managed-schema: stored="false" /> docValues="true" /> However, on startup, solr complains: Caused by: org.apache.solr.common.SolrException: _version_ field must exist in schema and be searchable (indexed

Re: _version_ field missing in schema?

2019-01-24 Thread Aleksandar Dimitrov
-116330553 Thanks for the pointers. I've finally managed to get my schema to work ☺ Cheers, Aleks Regards, Alex. On Wed, Jan 23, 2019, 5:50 AM Aleksandar Dimitrov < a.dimit...@seidemann-web.com wrote: Hi Alex, thanks for you answer. I took the lines directly from the managed-sch

Re: _version_ field missing in schema?

2019-01-24 Thread Aleksandar Dimitrov
Shawn Heisey writes: On 1/23/2019 3:49 AM, Aleksandar Dimitrov wrote: Hi Alex, thanks for you answer. I took the lines directly from the managed-schema, deleted the managed-schema, and pasted those lines into my schema.xml. Unless you have changed the solrconfig.xml to refer