Uses of Enum Class
org.hibernate.search.engine.backend.work.execution.DocumentCommitStrategy
Packages that use DocumentCommitStrategy
Package
Description
-
Uses of DocumentCommitStrategy in org.hibernate.search.engine.backend.index.spi
Methods in org.hibernate.search.engine.backend.index.spi with parameters of type DocumentCommitStrategyModifier and TypeMethodDescriptionIndexManagerImplementor.createIndexingPlan(BackendSessionContext sessionContext, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy) -
Uses of DocumentCommitStrategy in org.hibernate.search.engine.backend.work.execution
Subclasses with type arguments of type DocumentCommitStrategy in org.hibernate.search.engine.backend.work.executionModifier and TypeClassDescriptionenumDefines how to handle index commits after a document is written to the index, i.e. whether changes should be committed to disk immediately or not.Methods in org.hibernate.search.engine.backend.work.execution that return DocumentCommitStrategyModifier and TypeMethodDescriptionstatic DocumentCommitStrategyReturns the enum constant of this class with the specified name.static DocumentCommitStrategy[]DocumentCommitStrategy.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of DocumentCommitStrategy in org.hibernate.search.engine.backend.work.execution.spi
Methods in org.hibernate.search.engine.backend.work.execution.spi with parameters of type DocumentCommitStrategyModifier and TypeMethodDescriptionIndexIndexer.add(DocumentReferenceProvider referenceProvider, DocumentContributor documentContributor, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy, OperationSubmitter operationSubmitter) Add a document to the index, assuming that the document is absent from the index.IndexIndexer.addOrUpdate(DocumentReferenceProvider referenceProvider, DocumentContributor documentContributor, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy, OperationSubmitter operationSubmitter) Update a document in the index, or add it if it's absent from the index.IndexIndexer.delete(DocumentReferenceProvider referenceProvider, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy, OperationSubmitter operationSubmitter) Delete a document from the index. -
Uses of DocumentCommitStrategy in org.hibernate.search.engine.mapper.mapping.spi
Methods in org.hibernate.search.engine.mapper.mapping.spi with parameters of type DocumentCommitStrategyModifier and TypeMethodDescriptionMappedIndexManager.createIndexingPlan(BackendSessionContext sessionContext, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy)