public interface CommitPolicy
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.index.IndexWriter |
getIndexWriter()
Obtain the IndexWriter
|
org.apache.lucene.index.IndexWriter |
getIndexWriter(ErrorContextBuilder errorContextBuilder)
Obtain the index writer
|
void |
onChangeSetApplied(boolean someFailureHappened,
boolean streaming)
A changeset was applied to the index
|
void |
onClose()
Backend shutting down
|
void |
onFlush()
An explicit flush was requested
|
void onChangeSetApplied(boolean someFailureHappened,
boolean streaming)
someFailureHappened - true if any failure happenedstreaming - true if changesets are part of a stream of operationsvoid onFlush()
void onClose()
org.apache.lucene.index.IndexWriter getIndexWriter()
IndexWriterorg.apache.lucene.index.IndexWriter getIndexWriter(ErrorContextBuilder errorContextBuilder)
errorContextBuilder - the ErrorContextBuilderIndexWriterCopyright © 2006–2017 Hibernate. All rights reserved.