You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Noble Paul (Jira)" <ji...@apache.org> on 2019/12/26 01:51:00 UTC
[jira] [Updated] (SOLR-14151) Make schema components load from
packages
[ https://issues.apache.org/jira/browse/SOLR-14151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Noble Paul updated SOLR-14151:
------------------------------
Description:
Example:
{code:xml}
<fieldType name="mytype1" class="pkg1:my.pkg.FieldTypeImpl">
<analyzer type="index">
<tokenizer class="pkg2:my.pkg2.MyTokenizerFactory"/>
<filter class="pkg2:my.pkg3.MyFilterFactory" generateWordParts="1" generateNumberParts="0" catenateWords="0"
catenateNumbers="0" catenateAll="0"/>
<filter class="solr.LowerCaseFilterFactory"/>
<filter class="solr.FlattenGraphFilterFactory"/>
</analyzer>
</fieldType>
{code}
* When a package is updated, the entire {{IndexSchema}} object is refreshed, but the SolrCore object is not reloaded
* Any component can be prefixed with the package name
* The semantics of loading plugins remain the same as that of the components in {{solrconfig.xml}}
* Plugins can be registered using schema API
> Make schema components load from packages
> -----------------------------------------
>
> Key: SOLR-14151
> URL: https://issues.apache.org/jira/browse/SOLR-14151
> Project: Solr
> Issue Type: Sub-task
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Noble Paul
> Priority: Major
>
> Example:
> {code:xml}
> <fieldType name="mytype1" class="pkg1:my.pkg.FieldTypeImpl">
> <analyzer type="index">
> <tokenizer class="pkg2:my.pkg2.MyTokenizerFactory"/>
> <filter class="pkg2:my.pkg3.MyFilterFactory" generateWordParts="1" generateNumberParts="0" catenateWords="0"
> catenateNumbers="0" catenateAll="0"/>
> <filter class="solr.LowerCaseFilterFactory"/>
> <filter class="solr.FlattenGraphFilterFactory"/>
> </analyzer>
> </fieldType>
> {code}
> * When a package is updated, the entire {{IndexSchema}} object is refreshed, but the SolrCore object is not reloaded
> * Any component can be prefixed with the package name
> * The semantics of loading plugins remain the same as that of the components in {{solrconfig.xml}}
> * Plugins can be registered using schema API
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org