lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-8131) Make ManagedIndexSchemaFactory as the default in Solr
Date Sun, 22 Nov 2015 09:44:11 GMT

    [ https://issues.apache.org/jira/browse/SOLR-8131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15020911#comment-15020911
] 

Uwe Schindler commented on SOLR-8131:
-------------------------------------

bq. renames it to a file called managed-schema or to a name explicitly mentioned.

Why not specify "schema.xml" as the specified schema name? I have no idea why we need a different
name here? In any case, we cannot allow write access to src/test-files! So 2 possibilities:
- Fix all schema/configs throughout solr
- tests that directly access the test-files folder have to copy to a temporary dir (like most
tests already do). There is some utility method in SolrTestcaseJ4 / TestHarness to do this
(I think).

> 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


Mime
View raw message