Class BasicAnalyzer
java.lang.Object
org.apache.lucene.analysis.Analyzer
org.apache.lucene.analysis.AnalyzerWrapper
com.echothree.model.control.index.server.analyzer.BasicAnalyzer
- All Implemented Interfaces:
Closeable,AutoCloseable
- Direct Known Subclasses:
ComponentVendorAnalyzer,ContactMechanismAnalyzer,ContentCatalogAnalyzer,ContentCatalogItemAnalyzer,ContentCategoryAnalyzer,EntityAliasTypeAnalyzer,EntityAttributeAnalyzer,EntityAttributeGroupAnalyzer,EntityListItemAnalyzer,EntityTypeAnalyzer,ForumMessageAnalyzer,HarmonizedTariffScheduleCodeAnalyzer,ItemAnalyzer,OfferAnalyzer,PartyAnalyzer,SecurityRoleAnalyzer,SecurityRoleGroupAnalyzer,ShippingMethodAnalyzer,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 TypeMethodDescriptionvoidclose()getEntityTypeFieldAnalyzers(Map<String, org.apache.lucene.analysis.Analyzer> fieldAnalyzers) getFieldAnalyzers(ExecutionErrorAccumulator eea, EntityType entityType, List<EntityAttribute> entityAttributes, List<TagScope> tagScopes) protected org.apache.lucene.analysis.AnalyzergetWrappedAnalyzer(String fieldName) toString()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
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:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classorg.apache.lucene.analysis.Analyzer
-
getWrappedAnalyzer
- Specified by:
getWrappedAnalyzerin classorg.apache.lucene.analysis.AnalyzerWrapper
-
toString
-
getEntityTypeFieldAnalyzers
protected Map<String,org.apache.lucene.analysis.Analyzer> getEntityTypeFieldAnalyzers(Map<String, org.apache.lucene.analysis.Analyzer> fieldAnalyzers) -
getFieldAnalyzers
protected Map<String,org.apache.lucene.analysis.Analyzer> getFieldAnalyzers(ExecutionErrorAccumulator eea, EntityType entityType, List<EntityAttribute> entityAttributes, List<TagScope> tagScopes) -
getDateFields
-
getDateTimeFields
-
getIntFields
-
getLongFields
-
getFloatFields
-
getDoubleFields
-