Class BasicAnalyzer
java.lang.Object
org.apache.lucene.analysis.Analyzer
org.apache.lucene.analysis.AnalyzerWrapper
com.echothree.model.control.index.server.analysis.BasicAnalyzer
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Direct Known Subclasses:
ContactMechanismAnalyzer
,ContentCategoryAnalyzer
,EntityListItemAnalyzer
,EntityTypeAnalyzer
,ForumMessageAnalyzer
,HarmonizedTariffScheduleCodeAnalyzer
,ItemAnalyzer
,OfferAnalyzer
,PartyAnalyzer
,SecurityRoleAnalyzer
,SecurityRoleGroupAnalyzer
,UseAnalyzer
,UseTypeAnalyzer
-
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
FieldsFields inherited from class org.apache.lucene.analysis.Analyzer
GLOBAL_REUSE_STRATEGY, PER_FIELD_REUSE_STRATEGY
-
Constructor Summary
ConstructorsConstructorDescriptionBasicAnalyzer
(ExecutionErrorAccumulator eea, Language language, EntityType entityType) BasicAnalyzer
(ExecutionErrorAccumulator eea, Language language, EntityType entityType, List<EntityAliasType> entityAliasTypes, List<EntityAttribute> entityAttributes, List<TagScope> tagScopes) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
getEntityTypeAnalyzers
(Map<String, org.apache.lucene.analysis.Analyzer> fieldAnalyzers) protected org.apache.lucene.analysis.Analyzer
getWrappedAnalyzer
(String fieldName) toString()
protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents
wrapComponents
(String fieldName, org.apache.lucene.analysis.Analyzer.TokenStreamComponents components) Methods inherited from class org.apache.lucene.analysis.AnalyzerWrapper
attributeFactory, createComponents, getOffsetGap, getPositionIncrementGap, initReader, initReaderForNormalization, normalize, wrapReader, wrapReaderForNormalization, wrapTokenStreamForNormalization
Methods inherited from class org.apache.lucene.analysis.Analyzer
getReuseStrategy, normalize, tokenStream, tokenStream
-
Field Details
-
log
-
-
Constructor Details
-
BasicAnalyzer
public BasicAnalyzer(ExecutionErrorAccumulator eea, Language language, EntityType entityType, List<EntityAliasType> entityAliasTypes, List<EntityAttribute> entityAttributes, List<TagScope> tagScopes) -
BasicAnalyzer
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classorg.apache.lucene.analysis.Analyzer
-
getWrappedAnalyzer
- Specified by:
getWrappedAnalyzer
in classorg.apache.lucene.analysis.AnalyzerWrapper
-
wrapComponents
protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents wrapComponents(String fieldName, org.apache.lucene.analysis.Analyzer.TokenStreamComponents components) - Overrides:
wrapComponents
in classorg.apache.lucene.analysis.AnalyzerWrapper
-
toString
-
getEntityTypeAnalyzers
protected Map<String,org.apache.lucene.analysis.Analyzer> getEntityTypeAnalyzers(Map<String, org.apache.lucene.analysis.Analyzer> fieldAnalyzers)
-