- All Implemented Interfaces:
- Closeable, AutoCloseable
public class SimpleLuceneAnalyzer
extends AbstractBookAnalyzer
Simple Analyzer providing same function as
org.apache.lucene.analysis.SimpleAnalyzer This is intended to be the default
analyzer for natural language fields. Additionally performs: Normalize
Diacritics (Changes Accented characters to their unaccented equivalent) for
ISO 8859-1 languages
Note: Next Lucene release (beyond 2.2.0) will have a major performance
enhancement using method - public TokenStream reusableTokenStream(String
fieldName, Reader reader) We should use that. Ref:
https://issues.apache.org/jira/browse/LUCENE-969
- Author:
- Sijo Cherian
- See Also:
The GNU Lesser General Public License for details.