Package org.apache.maven.index.context
Class NexusLegacyAnalyzer
- java.lang.Object
-
- org.apache.lucene.analysis.Analyzer
-
- org.apache.lucene.analysis.AnalyzerWrapper
-
- org.apache.maven.index.context.NexusLegacyAnalyzer
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public final class NexusLegacyAnalyzer extends org.apache.lucene.analysis.AnalyzerWrapper
A Nexus specific Lucene Analyzer used to produce legacy index transfer format
-
-
Field Summary
Fields Modifier and Type Field Description private static org.apache.lucene.analysis.Analyzer
DEFAULT_ANALYZER
private static org.apache.lucene.analysis.Analyzer
LETTER_OR_DIGIT_ANALYZER
-
Constructor Summary
Constructors Constructor Description NexusLegacyAnalyzer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.lucene.analysis.Analyzer
getWrappedAnalyzer(java.lang.String fieldName)
protected boolean
isTextField(java.lang.String field)
-
Methods inherited from class org.apache.lucene.analysis.AnalyzerWrapper
attributeFactory, createComponents, getOffsetGap, getPositionIncrementGap, initReader, initReaderForNormalization, normalize, wrapComponents, wrapReader, wrapReaderForNormalization, wrapTokenStreamForNormalization
-
-