[
https://issues.apache.org/jira/browse/SOLR-8131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15020927#comment-15020927
]
Uwe Schindler edited comment on SOLR-8131 at 11/22/15 10:23 AM:
----------------------------------------------------------------
OK. So why do you want to change those configs to use managed schema at all?
Those are static test only schema, never changed. The classic schema factory is
not deprecated and should never be. So why not leave the "test schemas" as they
are.
I just want to say: These are different issues: Making the new schema the
default for new Solr installations and fixing test schemas.
So just change the defaults in this issue and then open new issues to change
tests one by one to use managed schema (although I am against this, because we
should also test the classic schema factory). All tests that use the manages
schema factory have to be rewritten to use SolrTestcaseJ4's copy functionality
to create a writeable clone. This also makes the tests behave correct, because
all would get a clean setup, not overwriting files already there.
was (Author: thetaphi):
OK. So why do you want to change those configs to use managed schema at all?
Those are static test only schema, never changed. The classic schema factory is
not deprecated and should never be. So why not leave the "test schemas" as they
are.
> Make ManagedIndexSchemaFactory as the default in Solr
> -----------------------------------------------------
>
> Key: SOLR-8131
> URL: https://issues.apache.org/jira/browse/SOLR-8131
> Project: Solr
> Issue Type: Wish
> Components: Data-driven Schema, Schema and Analysis
> Reporter: Shalin Shekhar Mangar
> Labels: difficulty-easy, impact-high
> Fix For: 5.4, Trunk
>
> Attachments: SOLR-8131.patch
>
>
> The techproducts and other examples shipped with Solr all use the
> ClassicIndexSchemaFactory which disables all Schema APIs which need to modify
> schema. It'd be nice to be able to support both read/write schema APIs
> without needing to enable data-driven or schema-less mode.
> I propose to change all 5.x examples to explicitly use
> ManagedIndexSchemaFactory and to enable ManagedIndexSchemaFactory by default
> in trunk (6.x).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]