Class ContentCatalogItemAnalyzer
java.lang.Object
org.apache.lucene.analysis.Analyzer
org.apache.lucene.analysis.AnalyzerWrapper
com.echothree.model.control.index.server.analyzer.BasicAnalyzer
com.echothree.model.control.content.server.analyzer.ContentCatalogItemAnalyzer
- All Implemented Interfaces:
Closeable,AutoCloseable
-
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 com.echothree.model.control.index.server.analyzer.BasicAnalyzer
logFields inherited from class org.apache.lucene.analysis.Analyzer
GLOBAL_REUSE_STRATEGY, PER_FIELD_REUSE_STRATEGY -
Constructor Summary
ConstructorsConstructorDescriptionContentCatalogItemAnalyzer(ExecutionErrorAccumulator eea, Language language, EntityType entityType) ContentCatalogItemAnalyzer(ExecutionErrorAccumulator eea, Language language, EntityType entityType, List<EntityAliasType> entityAliasTypes, List<EntityAttribute> entityAttributes, List<TagScope> tagScopes) -
Method Summary
Modifier and TypeMethodDescriptiongetEntityTypeFieldAnalyzers(Map<String, org.apache.lucene.analysis.Analyzer> fieldAnalyzers) getFieldAnalyzers(ExecutionErrorAccumulator eea, EntityType entityType, List<EntityAttribute> entityAttributes, List<TagScope> tagScopes) getItemAliasTypeAnalyzers(Map<String, org.apache.lucene.analysis.Analyzer> fieldAnalyzers) getItemDescriptionAnalyzers(Map<String, org.apache.lucene.analysis.Analyzer> fieldAnalyzers) Methods inherited from class com.echothree.model.control.index.server.analyzer.BasicAnalyzer
close, getDateFields, getDateTimeFields, getDoubleFields, getFloatFields, getIntFields, getWrappedAnalyzer, toStringMethods 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
-
Constructor Details
-
ContentCatalogItemAnalyzer
public ContentCatalogItemAnalyzer(ExecutionErrorAccumulator eea, Language language, EntityType entityType, List<EntityAliasType> entityAliasTypes, List<EntityAttribute> entityAttributes, List<TagScope> tagScopes) -
ContentCatalogItemAnalyzer
public ContentCatalogItemAnalyzer(ExecutionErrorAccumulator eea, Language language, EntityType entityType)
-
-
Method Details
-
getItemAliasTypeAnalyzers
protected Map<String,org.apache.lucene.analysis.Analyzer> getItemAliasTypeAnalyzers(Map<String, org.apache.lucene.analysis.Analyzer> fieldAnalyzers) -
getItemDescriptionAnalyzers
protected Map<String,org.apache.lucene.analysis.Analyzer> getItemDescriptionAnalyzers(Map<String, org.apache.lucene.analysis.Analyzer> fieldAnalyzers) - Parameters:
fieldAnalyzers- A Map of field Analyzers.- Returns:
- the field Analyzer map with additional Analyzers for ItemDescriptionTypes added.
-
getEntityTypeFieldAnalyzers
protected Map<String,org.apache.lucene.analysis.Analyzer> getEntityTypeFieldAnalyzers(Map<String, org.apache.lucene.analysis.Analyzer> fieldAnalyzers) - Overrides:
getEntityTypeFieldAnalyzersin classBasicAnalyzer
-
getFieldAnalyzers
protected Map<String,org.apache.lucene.analysis.Analyzer> getFieldAnalyzers(ExecutionErrorAccumulator eea, EntityType entityType, List<EntityAttribute> entityAttributes, List<TagScope> tagScopes) - Overrides:
getFieldAnalyzersin classBasicAnalyzer
-
getLongFields
- Overrides:
getLongFieldsin classBasicAnalyzer
-