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:
Closeable,AutoCloseable
public final class NexusLegacyAnalyzer
extends org.apache.lucene.analysis.AnalyzerWrapper
A Nexus specific Lucene Analyzer used
to produce legacy index transfer format
- Author:
- Jason van Zyl
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.analysis.Analyzer
org.apache.lucene.analysis.Analyzer.ReuseStrategy, org.apache.lucene.analysis.Analyzer.TokenStreamComponents -
Field Summary
Fields inherited from class org.apache.lucene.analysis.Analyzer
GLOBAL_REUSE_STRATEGY, PER_FIELD_REUSE_STRATEGY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.lucene.analysis.AnalyzergetWrappedAnalyzer(String fieldName) protected booleanisTextField(String field) Methods inherited from class org.apache.lucene.analysis.AnalyzerWrapper
attributeFactory, createComponents, getOffsetGap, getPositionIncrementGap, initReader, initReaderForNormalization, normalize, wrapComponents, wrapReader, wrapReaderForNormalization, wrapTokenStreamForNormalizationMethods inherited from class org.apache.lucene.analysis.Analyzer
close, getReuseStrategy, normalize, tokenStream, tokenStream
-
Constructor Details
-
NexusLegacyAnalyzer
public NexusLegacyAnalyzer()
-
-
Method Details
-
getWrappedAnalyzer
- Specified by:
getWrappedAnalyzerin classorg.apache.lucene.analysis.AnalyzerWrapper
-
isTextField
-