[
https://issues.apache.org/jira/browse/LUCENE-2021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771776#action_12771776
]
Uwe Schindler commented on LUCENE-2021:
---------------------------------------
The setArticles method could check with instanceof, if the supplied set is a
chararrayset and use it directly (see StopFilter). Otherwise looks good.
> French elision filter should use CharArraySet
> ---------------------------------------------
>
> Key: LUCENE-2021
> URL: https://issues.apache.org/jira/browse/LUCENE-2021
> Project: Lucene - Java
> Issue Type: Improvement
> Components: contrib/analyzers
> Reporter: Robert Muir
> Assignee: Robert Muir
> Priority: Trivial
> Fix For: 3.0
>
> Attachments: LUCENE-2021.patch
>
>
> French elision filter creates new strings, lowercases them, etc just to check
> against a Set<String>.
> trivial patch to use chararrayset instead.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]