Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
None
-
New, Patch Available
Description
The LinkedList used by CachingTokenFilter is accessed using the get() method. Direct access on a LinkedList is slow and an Iterator should be used instead. For more than a handful of tokens, the difference in speed grows exponentially.
Attachments
Attachments
Issue Links
- is related to
-
LUCENE-6033 Add CachingTokenFilter.isCached and switch LinkedList to ArrayList
- Resolved