Class ElasticsearchIndexModel
java.lang.Object
org.hibernate.search.engine.backend.document.model.spi.AbstractIndexModel<ElasticsearchIndexModel,ElasticsearchIndexRoot,ElasticsearchIndexField>
org.hibernate.search.backend.elasticsearch.document.model.impl.ElasticsearchIndexModel
- All Implemented Interfaces:
ElasticsearchIndexDescriptor,ElasticsearchSearchIndexContext,IndexDescriptor,EventContextProvider
public class ElasticsearchIndexModel
extends AbstractIndexModel<ElasticsearchIndexModel,ElasticsearchIndexRoot,ElasticsearchIndexField>
implements ElasticsearchIndexDescriptor, ElasticsearchSearchIndexContext
-
Constructor Summary
ConstructorsConstructorDescriptionElasticsearchIndexModel(String hibernateSearchIndexName, String mappedTypeName, IndexIdentifier identifier, ElasticsearchIndexRoot rootNode, Map<String, ElasticsearchIndexField> staticFields, List<AbstractElasticsearchIndexFieldTemplate<?>> fieldTemplates, ElasticsearchAnalysisDefinitionRegistry analysisDefinitionRegistry, PropertyMappingIndexSettingsContributor propertyMappingIndexSettingsContributor, IndexSettings customIndexSettings, RootTypeMapping mapping, RootTypeMapping customMapping) -
Method Summary
Modifier and TypeMethodDescriptionvoidintnames()voidonStart(IndexManagerBackendContext backendContext) readName()protected ElasticsearchIndexModelself()toString()Methods inherited from class org.hibernate.search.engine.backend.document.model.spi.AbstractIndexModel
analyzer, analyzers, eventContext, field, fieldOrNull, fieldOrNull, hibernateSearchName, identifier, mappedTypeName, normalizer, normalizers, root, staticFieldsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.search.backend.elasticsearch.search.common.impl.ElasticsearchSearchIndexContext
identifier, mappedTypeNameMethods inherited from interface org.hibernate.search.engine.backend.metamodel.IndexDescriptor
analyzer, analyzers, field, hibernateSearchName, normalizer, normalizers, root, staticFields
-
Constructor Details
-
ElasticsearchIndexModel
public ElasticsearchIndexModel(String hibernateSearchIndexName, String mappedTypeName, IndexIdentifier identifier, ElasticsearchIndexRoot rootNode, Map<String, ElasticsearchIndexField> staticFields, List<AbstractElasticsearchIndexFieldTemplate<?>> fieldTemplates, ElasticsearchAnalysisDefinitionRegistry analysisDefinitionRegistry, PropertyMappingIndexSettingsContributor propertyMappingIndexSettingsContributor, IndexSettings customIndexSettings, RootTypeMapping mapping, RootTypeMapping customMapping)
-
-
Method Details
-
toString
- Overrides:
toStringin classAbstractIndexModel<ElasticsearchIndexModel,ElasticsearchIndexRoot, ElasticsearchIndexField>
-
self
- Specified by:
selfin classAbstractIndexModel<ElasticsearchIndexModel,ElasticsearchIndexRoot, ElasticsearchIndexField>
-
names
- Specified by:
namesin interfaceElasticsearchSearchIndexContext
-
maxResultWindow
public int maxResultWindow()- Specified by:
maxResultWindowin interfaceElasticsearchSearchIndexContext
-
contributeLowLevelMetadata
-
readName
- Specified by:
readNamein interfaceElasticsearchIndexDescriptor- Returns:
- The read name, i.e. the name that Hibernate Search is supposed to use when executing searches on the index.
-
writeName
- Specified by:
writeNamein interfaceElasticsearchIndexDescriptor- Returns:
- The write name, i.e. the name that Hibernate Search is supposed to use when indexing or purging the index.
-
hibernateSearchIndexName
-
onStart
-