[ https://issues.apache.org/jira/browse/LUCENE-2021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771779#action_12771779 ]
Robert Muir commented on LUCENE-2021: ------------------------------------- bq. The setArticles method could check with instanceof, if the supplied set is a chararrayset and use it directly (see StopFilter). Otherwise looks good. good idea, I'll fix this. > 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: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org