[
https://issues.apache.org/jira/browse/LUCENE-1040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yonik Seeley updated LUCENE-1040:
---------------------------------
Attachment: CharArraySet.patch
Attaching patch. Here's the approach I took:
- change makeStopSet return a CharArraySet
- make CharArraySet a real Set (plus many other small changes)
- the Iterator returns Strings for backward compatibility with people that
expect a Set<String>
- StopFilter constructor to directly use Set if instanceof CharArraySet
All tests pass.
> Can't quickly create StopFilter
> -------------------------------
>
> Key: LUCENE-1040
> URL: https://issues.apache.org/jira/browse/LUCENE-1040
> Project: Lucene - Java
> Issue Type: Bug
> Reporter: Yonik Seeley
> Assignee: Yonik Seeley
> Attachments: CharArraySet.patch
>
>
> Due to the use of CharArraySet by StopFilter, one can no longer efficiently
> pre-create a Set for use by future StopFilter instances.
--
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]