[ 
https://issues.apache.org/jira/browse/LUCENE-8093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16287885#comment-16287885
 ] 

Robert Muir commented on LUCENE-8093:
-------------------------------------

Seems like a reasonable argument to me. The other main things to worry about 
IMO:
* will the special syntax (e.g. of regex or wildcard or whatever) will confuse 
the filter?
* will the filter always return 1:1 token for token or will it remove/add 
tokens (this will confuse the queryparser).

Not sure there are any issues here for the trimfilter, it returns an empty 
string if you give it all whitespace so I think its ok there

> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to