I have below questions in solr 6.
And could you please help me in understanding what is recommended in solr6?
Regards,
Shaffic
I've done some investigation after wondering the same thing and here's the best I can come up with.
It seems that schema.xml
and managed-schema
are indentical, only their name changed in Solr6.
Benefits of managed-schema
Drawbacks of managed-schema
Note: The Schema API has an endpoint to get the managed-schema with a special param
curl http://localhost:8983/solr/<COLLECTION>/schema?wt=schema.xml
Note: If you have a schema.xml file and do not have a managed-schema at the time of starting Solr and do not have schemaFactory specified in your solrconfig.xml file, Solr will assume it is managed, and create a managed_schema from your schema.xml file, at which point your schema.xml file is no longer read from. The managed-schema will be read from at this point forward. Further changes to schema.xml will be ignored.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With