Add ReuseStrategy to ReusableAnalyzerBase
-----------------------------------------
Key: LUCENE-3389
URL: https://issues.apache.org/jira/browse/LUCENE-3389
Project: Lucene - Java
Issue Type: Improvement
Components: modules/analysis
Reporter: Chris Male
ReusableAnalyzerBase currently ignores the fieldName passed into
.tokenStream/.reusableTokenStream and reuses the same components for every
field. To move all Analyzers over to using ReusableAnalyzerBase, we need to
support per-field reuse as well.
As Robert pointed out in LUCENE-2309, we can do this by adding a ReuseStrategy
which has two impls; one implementing the current global behavior and one
providing per-field reuse.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]