org.apache.maven.index.context
Class NexusLegacyAnalyzer
java.lang.Object
org.apache.lucene.analysis.Analyzer
org.apache.maven.index.context.NexusLegacyAnalyzer
- All Implemented Interfaces:
- Closeable
public final class NexusLegacyAnalyzer
- extends org.apache.lucene.analysis.Analyzer
A Nexus specific Lucene Analyzer used
to produce legacy index transfer format
- Author:
- Jason van Zyl
Methods inherited from class org.apache.lucene.analysis.Analyzer |
close, getOffsetGap, getPositionIncrementGap, getPreviousTokenStream, setPreviousTokenStream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NexusLegacyAnalyzer
public NexusLegacyAnalyzer()
tokenStream
public org.apache.lucene.analysis.TokenStream tokenStream(String field,
Reader reader)
- Specified by:
tokenStream
in class org.apache.lucene.analysis.Analyzer
reusableTokenStream
public org.apache.lucene.analysis.TokenStream reusableTokenStream(String field,
Reader reader)
throws IOException
- Overrides:
reusableTokenStream
in class org.apache.lucene.analysis.Analyzer
- Throws:
IOException
isTextField
protected boolean isTextField(String field)
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.