org.crosswire.jsword.index.lucene
Class LuceneAnalyzer
java.lang.Object
org.apache.lucene.analysis.Analyzer
org.crosswire.jsword.index.lucene.LuceneAnalyzer
public class LuceneAnalyzer
- extends org.apache.lucene.analysis.Analyzer
A specialized analyzer for Books that analyzes different fields differently.
- Author:
- DM Smith [dmsmith555 at yahoo dot com]
- See Also:
for license details.
The copyright to this program is held by it's authors.
Field Summary |
private org.apache.lucene.analysis.PerFieldAnalyzerWrapper |
analyzer
|
Methods inherited from class org.apache.lucene.analysis.Analyzer |
getPositionIncrementGap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
analyzer
private org.apache.lucene.analysis.PerFieldAnalyzerWrapper analyzer
LuceneAnalyzer
public LuceneAnalyzer()
tokenStream
public org.apache.lucene.analysis.TokenStream tokenStream(String fieldName,
Reader reader)
- Specified by:
tokenStream
in class org.apache.lucene.analysis.Analyzer