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
Constructors Constructor Description ElasticsearchIndexModel(IndexNames names, String mappedTypeName, IndexIdentifier identifier, ElasticsearchIndexRoot rootNode, Map<String,ElasticsearchIndexField> staticFields, List<AbstractElasticsearchIndexFieldTemplate<?>> fieldTemplates, ElasticsearchAnalysisDefinitionRegistry analysisDefinitionRegistry, IndexSettings customIndexSettings, RootTypeMapping mapping, RootTypeMapping customMapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcontributeLowLevelMetadata(LowLevelIndexMetadataBuilder builder)intmaxResultWindow()IndexNamesnames()StringreadName()protected ElasticsearchIndexModelself()StringtoString()StringwriteName()-
Methods inherited from class org.hibernate.search.engine.backend.document.model.spi.AbstractIndexModel
eventContext, field, fieldOrNull, fieldOrNull, hibernateSearchName, identifier, mappedTypeName, root, staticFields
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.search.backend.elasticsearch.search.common.impl.ElasticsearchSearchIndexContext
identifier, mappedTypeName
-
Methods inherited from interface org.hibernate.search.engine.backend.metamodel.IndexDescriptor
field, hibernateSearchName, root, staticFields
-
-
-
-
Constructor Detail
-
ElasticsearchIndexModel
public ElasticsearchIndexModel(IndexNames names, String mappedTypeName, IndexIdentifier identifier, ElasticsearchIndexRoot rootNode, Map<String,ElasticsearchIndexField> staticFields, List<AbstractElasticsearchIndexFieldTemplate<?>> fieldTemplates, ElasticsearchAnalysisDefinitionRegistry analysisDefinitionRegistry, IndexSettings customIndexSettings, RootTypeMapping mapping, RootTypeMapping customMapping)
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toStringin classAbstractIndexModel<ElasticsearchIndexModel,ElasticsearchIndexRoot,ElasticsearchIndexField>
-
self
protected ElasticsearchIndexModel self()
- Specified by:
selfin classAbstractIndexModel<ElasticsearchIndexModel,ElasticsearchIndexRoot,ElasticsearchIndexField>
-
names
public IndexNames names()
- Specified by:
namesin interfaceElasticsearchSearchIndexContext
-
maxResultWindow
public int maxResultWindow()
- Specified by:
maxResultWindowin interfaceElasticsearchSearchIndexContext
-
contributeLowLevelMetadata
public void contributeLowLevelMetadata(LowLevelIndexMetadataBuilder builder)
-
readName
public String 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
public String 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.
-
-