You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2017/12/13 09:29:00 UTC
[jira] [Updated] (LUCENE-8093) TrimFilterFactory should implement
MultiTermAwareComponent
[ https://issues.apache.org/jira/browse/LUCENE-8093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Woodward updated LUCENE-8093:
----------------------------------
Attachment: LUCENE-8093.patch
Adrien also pointed me to MappingCharFilter, which behaves similarly to TrimFilter, and implements MTAC, so I think there's precedent here.
Here's a patch adding MTAC to TrimFilterFactory, and expanding the MultiTermAwareComponent javadocs a bit to help future implementers.
> TrimFilterFactory should implement MultiTermAwareComponent
> ----------------------------------------------------------
>
> Key: LUCENE-8093
> URL: https://issues.apache.org/jira/browse/LUCENE-8093
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Alan Woodward
> Assignee: Alan Woodward
> Priority: Minor
> Attachments: LUCENE-8093.patch
>
>
> TrimFilter will work perfectly well in CustomAnalyzer.normalize(), so it should implement MultiTermAwareComponent
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org