Reputation: 3370
I was following this article to start with my apache solr expedition. http://examples.javacodegeeks.com/enterprise-java/apache-solr/apache-solr-tutorial-beginners/ I have created a solr core using below command-
> solr create -c mycorename
This has created a core but schema.xml file is not created inside the conf directory. Instead of this i am able to see managed-schema.xml file. Does this command create a schemaless core. Please let me know how i can create a core that also have a schema.xml file created in it.
Upvotes: 0
Views: 1033
Reputation: 2963
Yes, i've got some issue. Shortly. Solr can use ether static schema, or dynamic (REST api) schema. So, you should select which one you'll use. You can do id in solrconfig.xml
Like this:
<schemaFactory class="ManagedIndexSchemaFactory">
<bool name="mutable">true</bool>
<str name="managedSchemaResourceName">managed-schema</str>
</schemaFactory>
More info, read this guide
Upvotes: 0