You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Yasufumi Mizoguchi <ya...@gmail.com> on 2018/06/03 02:41:52 UTC

Re: Synonym(Graph)FilterFactory seems to ignore tokenizerFactory.* parameters.

Does anyone teach me if this is a bug or intended?

2018年5月31日(木) 13:53 Yasufumi Mizoguchi <ya...@gmail.com>:

> Hi, community.
>
> I want to use Synonym(Graph)Filter with JapaneseTokenizer and
> NGramTokenizer.
> But it turned out that Synonym(Graph)FilterFactory seemed to ignore
> tokenizerFactory.* parameters such as "tokenizerFactory.maxGramSize",
> "tokenizerFactory.userDictionary" etc... when using
> managed-schema(ManagedIndexSchema class).
>
> Is this a bug?
>
> I found the similar issue in JIRA(
> https://issues.apache.org/jira/browse/SOLR-10010) and also found that
> Solr would respect the parameters when
> "informResourceLoaderAwareObjectsForFieldType" method called in
> "postReadInform" method is commented out as seen in the JIRA issue.
> (
> https://github.com/apache/lucene-solr/blob/a03d6bc8c27d3d97011bc5bdc2aeb94c4820628c/solr/core/src/java/org/apache/solr/schema/ManagedIndexSchema.java#L1153
> )
>
> Thanks,
> Yasufumi
>
>
>