I have created a new core named "testcore" in solR ,but in solR 6.0 I am not able to find Schema.xml file in conf folder,so am I supposed to manually create it or it will configure itself automatically?
I wanted to index a example from example docs,so to index it am I supposed to mention Schema.xml document or it will happen automatically as solR 6 is schemaless.
I am trying to folow this tutorial
https://examples.javacodegeeks.com/enterprise-java/apache-solr/apache-solr-tutorial-beginners/
please help!!
If you have started Solr with managed schema enabled and you would like to switch to manually editing a schema.xml
file,
you should take the following steps:
Rename the managed-schema
file to schema.xml
Modify solrconfig.xml
to replace the schemaFactory
class.
a. Remove any ManagedIndexSchemaFactory
definition if it exists
<!-- An example of Solr's implicit default behavior if no schemaFactory is explicitly defined.
-->
<schemaFactory class="ManagedIndexSchemaFactory">
<bool name="mutable">true</bool>
<str name="managedSchemaResourceName">managed-schema</str>
</schemaFactory>
b. Add a ClassicIndexSchemaFactory
definition as shown below
<schemaFactory class="ClassicIndexSchemaFactory"/>