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 to the classic
schema, the file named schema.xml is not used.
With the standard schema factory, on core startup, if schema.xml is
found, it is copied to managed-schema and then renamed to a backup
filename. This would also happen on reload, I believe.
Recommendation: unless you're using the classic schema, never use the
schema.xml file. Only work with managed-schema.
Thanks,
Shawn