org.crosswire.jsword.index.lucene
Class LuceneAnalyzer

java.lang.Object
  extended by org.apache.lucene.analysis.Analyzer
      extended by 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
           
 
Constructor Summary
LuceneAnalyzer()
           
 
Method Summary
 org.apache.lucene.analysis.TokenStream tokenStream(String fieldName, Reader reader)
           
 
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
 

Field Detail

analyzer

private org.apache.lucene.analysis.PerFieldAnalyzerWrapper analyzer
Constructor Detail

LuceneAnalyzer

public LuceneAnalyzer()
Method Detail

tokenStream

public org.apache.lucene.analysis.TokenStream tokenStream(String fieldName,
                                                          Reader reader)
Specified by:
tokenStream in class org.apache.lucene.analysis.Analyzer

Copyright ยจ 2003-2007