mirror of https://github.com/apache/lucene.git
SOLR-594 - upgrade documentation about calling inform for anyone who might be using StopFilterFactory, SynonymFilterFactory, or EnglishProterFilterFactory directly from java code.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@677034 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
466513c4c5
commit
d7a76cb4aa
|
@ -63,6 +63,15 @@ using the LegacyDateField class as a possible alternative. Users that
|
||||||
desire 100% backwards compatibility should consider using the Solr 1.2
|
desire 100% backwards compatibility should consider using the Solr 1.2
|
||||||
version of DateField.
|
version of DateField.
|
||||||
|
|
||||||
|
Due to some changes in the lifecycle of TokenFilterFactories, users of
|
||||||
|
Solr 1.2 who have written Java code which constructs new instances of
|
||||||
|
StopFilterFactory, SynonymFilterFactory, or EnglishProterFilterFactory
|
||||||
|
will need to modify their code by adding a line like the following
|
||||||
|
prior to using the factory object...
|
||||||
|
factory.inform(SolrCore.getSolrCore().getSolrConfig().getResourceLoader());
|
||||||
|
These lifecycle changes do not affect people who use Solr "out of the
|
||||||
|
box" or who have developed their own TokenFilterFactory plugins. More
|
||||||
|
info can be found in SOLR-594.
|
||||||
|
|
||||||
Detailed Change List
|
Detailed Change List
|
||||||
--------------------
|
--------------------
|
||||||
|
|
Loading…
Reference in New Issue