org.dspace.search
Class DSAnalyzer
java.lang.Object
org.apache.lucene.analysis.Analyzer
org.dspace.search.DSAnalyzer
public class DSAnalyzer
- extends org.apache.lucene.analysis.Analyzer
Custom Lucene Analyzer that combines the standard filter, lowercase filter,
stemming and stopword filters.
| Methods inherited from class org.apache.lucene.analysis.Analyzer |
getPreviousTokenStream, reusableTokenStream, setPreviousTokenStream |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DSAnalyzer
public DSAnalyzer()
tokenStream
public final org.apache.lucene.analysis.TokenStream tokenStream(String fieldName,
Reader reader)
- Specified by:
tokenStream in class org.apache.lucene.analysis.Analyzer
getPositionIncrementGap
public int getPositionIncrementGap(String fieldName)
- Overrides:
getPositionIncrementGap in class org.apache.lucene.analysis.Analyzer
Copyright © 2009 The DSpace Foundation. All Rights Reserved.