Lazy Atomic Loading Stopwords in SmartCN
-----------------------------------------
Key: LUCENE-1965
URL: https://issues.apache.org/jira/browse/LUCENE-1965
Project: Lucene - Java
Issue Type: Improvement
Components: contrib/analyzers
Affects Versions: 2.9
Reporter: Simon Willnauer
Assignee: Simon Willnauer
Fix For: 3.0
Attachments: LUCENE-1965.patch
The default constructor in SmartChineseAnalyzer loads the default (jar
embedded) stopwords each time the constructor is invoked.
This should be atomically loaded only once in an unmodifiable set.
--
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]