You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Varun Thacker (JIRA)" <ji...@apache.org> on 2015/11/21 11:18:11 UTC

[jira] [Updated] (SOLR-8131) Make ManagedIndexSchemaFactory as the default in Solr

     [ https://issues.apache.org/jira/browse/SOLR-8131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Varun Thacker updated SOLR-8131:
--------------------------------
    Attachment: SOLR-8131.patch

Patch which changes all example schema files to explicitly use ManagedIndexSchemaFactory. If a schema factory is not specified starting from 6.0 Solr will use ManagedIndexSchemaFactory by default.


I have no idea how to make the tests pass with this change. We rewrite all the schema files to managed-schema . Firstly we need to give the tests write permissions to managed-schema ( solr-tests.policy ) . More importantly tests which don't run in their own VM will overwrite the files under test-files/solr/collection1/solr ?

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org