[
https://issues.apache.org/jira/browse/LUCENE-3434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Male resolved LUCENE-3434.
--------------------------------
Resolution: Fixed
Fix Version/s: 4.0
3.5
Assignee: Chris Male
Trunk: Committed revision 1170942. (with Robert's change)
3x: Committed revision 1170939.
> Make ShingleAnalyzerWrapper and PerFieldAnalyzerWrapper immutable
> -----------------------------------------------------------------
>
> Key: LUCENE-3434
> URL: https://issues.apache.org/jira/browse/LUCENE-3434
> Project: Lucene - Java
> Issue Type: Improvement
> Components: modules/analysis
> Reporter: Chris Male
> Assignee: Chris Male
> Fix For: 3.5, 4.0
>
> Attachments: LUCENE-3434-3x.patch, LUCENE-3434-trunk.patch
>
>
> Both ShingleAnalyzerWrapper and PerFieldAnalyzerWrapper have setters which
> change some state which impacts their analysis stack. If these are going to
> become reusable, then the state must be immutable as changing it will have no
> effect.
> Process will be similar to QueryAutoStopWordAnalyzer, I will remove in trunk
> and deprecate in 3x.
--
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]