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
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.lucene.analysis.Analyzer
getWrappedAnalyzer
(String fieldName) protected boolean
isTextField
(String field) Methods inherited from class org.apache.lucene.analysis.AnalyzerWrapper
attributeFactory, createComponents, getOffsetGap, getPositionIncrementGap, initReader, initReaderForNormalization, normalize, wrapComponents, wrapReader, wrapReaderForNormalization, wrapTokenStreamForNormalization
Methods inherited from class org.apache.lucene.analysis.Analyzer
close, getReuseStrategy, normalize, tokenStream, tokenStream
-
Constructor Details
-
NexusLegacyAnalyzer
public NexusLegacyAnalyzer()
-
-
Method Details
-
getWrappedAnalyzer
- Specified by:
getWrappedAnalyzer
in classorg.apache.lucene.analysis.AnalyzerWrapper
-
isTextField
-