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


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]

Reply via email to