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

Sachin Goyal updated SOLR-11948:
--------------------------------
    Description: 
Half of the current 
[managed-schema|https://github.com/apache/lucene-solr/blob/master/solr/server/solr/configsets/_default/conf/managed-schema#L516-L927]
 includes lot of configuration that is un-used by many people and is somewhat 
painful to remove.

This includes the files present in the *lang* folder mostly - around 500 lines 
out of the 1000-line file are configuring so many different languages and other 
stuff in lang folder that is never used.

It might be good to consider splitting the managed-schema file into two:
# managed-schema: Everything but the lang folder config
# dependency-schema: lang folder config and other things that relate to other 
files.

If dependency-schema is absent, Solr will just assume that it is not required.
# This makes it easy to get rid of the extra config and ~100 files that are not 
required to be stored in zookeeper.
# The managed-schema file becomes easier to look at.


*Performance*: This should also reduce a lot of pressure on zookeeper because 
with all those un-necessary files gone, no replica will download them ever

  was:
Half of the current 
[managed-schema|https://github.com/apache/lucene-solr/blob/master/solr/server/solr/configsets/_default/conf/managed-schema#L516-L927]
 includes lot of configuration that is un-used by many people and is somewhat 
painful to remove.

This includes the files present in the *lang* folder mostly - around 500 lines 
out of the 1000-line file are configuring so many different languages and other 
stuff in lang folder that is never used.

It might be good to consider splitting the managed-schema file into two:
# managed-schema: Everything but the lang folder config
# dependency-schema: lang folder config and other things that relate to other 
files.

If dependency-schema is absent, Solr will just assume that it is not required.
# This makes it easy to get rid of the extra config and ~100 files that are not 
required to be stored in zookeeper.
# The managed-schema file becomes easier to look at.


 


> Move the lang-configurations from managed-schema to its own xml file
> --------------------------------------------------------------------
>
>                 Key: SOLR-11948
>                 URL: https://issues.apache.org/jira/browse/SOLR-11948
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 6.6.2, 7.2.1
>            Reporter: Sachin Goyal
>            Priority: Major
>
> Half of the current 
> [managed-schema|https://github.com/apache/lucene-solr/blob/master/solr/server/solr/configsets/_default/conf/managed-schema#L516-L927]
>  includes lot of configuration that is un-used by many people and is somewhat 
> painful to remove.
> This includes the files present in the *lang* folder mostly - around 500 
> lines out of the 1000-line file are configuring so many different languages 
> and other stuff in lang folder that is never used.
> It might be good to consider splitting the managed-schema file into two:
> # managed-schema: Everything but the lang folder config
> # dependency-schema: lang folder config and other things that relate to other 
> files.
> If dependency-schema is absent, Solr will just assume that it is not required.
> # This makes it easy to get rid of the extra config and ~100 files that are 
> not required to be stored in zookeeper.
> # The managed-schema file becomes easier to look at.
> *Performance*: This should also reduce a lot of pressure on zookeeper because 
> with all those un-necessary files gone, no replica will download them ever



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to