I'm not seeing how the documentation is wrong here. It says:

"When a <schemaFactory/> is not explicitly declared in a
solrconfig.xml file, Solr implicitly uses a
ManagedIndexSchemaFactory...."

IOW, managed schema is the default, and you may not find a
schemaFactory definition in your file. When a schemaFactory is not
defined, it is by default ManagedIndexSchemaFactory (see also
https://issues.apache.org/jira/browse/SOLR-8131).

The page then goes on to explain how to enable
ClassicIndexSchemaFactory if you choose. Take a look at the last
section, "Changing from Managed Schema to Manually Edited schema.xml".

Cassandra

On Sat, Nov 26, 2016 at 12:11 PM, Shawn Heisey <apa...@elyograg.org> wrote:
> On 11/26/2016 10:58 AM, Furkan KAMACI wrote:
>> I'm trying Solr 6.3. I don't want to use Managed Schema. It was OK for
>> Solr 5.x. However solrconfig.xml of Solr 6.3 doesn't have a
>> ManagedIndexSchemaFactory definition. Documentation is wrong at this
>> point (
>> https://cwiki.apache.org/confluence/display/solr/Schema+Factory+Definition+in+SolrConfig
>> ) How can I use ClassicIndexSchemaFactory with Solr 6.3?
>
> I believe that the managed schema is default now if you don't specify
> the factory to use.  I checked basic_configs in 6.2.1 and that
> definition did not appear to be present.  You'll probably have to *add*
> the schema factory definition to the config.  It looks like it's a
> top-level element, under <config>.  It's only one line.
>
> Thanks,
> Shawn
>

Reply via email to