public class MonitoringIndexWriter
extends org.apache.lucene.index.IndexWriter
| Modifier and Type | Method and Description |
|---|---|
long |
addDocument(Iterable<? extends org.apache.lucene.index.IndexableField> doc) |
long |
addDocuments(Iterable<? extends Iterable<? extends org.apache.lucene.index.IndexableField>> docs) |
void |
close() |
static MonitoringIndexWriter |
create(org.apache.lucene.store.Directory d,
org.apache.lucene.index.IndexWriterConfig conf) |
protected void |
doAfterFlush() |
addIndexes, addIndexes, advanceSegmentInfosVersion, commit, decRefDeleter, deleteAll, deleteDocuments, deleteDocuments, deleteUnusedFiles, doBeforeFlush, ensureOpen, ensureOpen, flush, flushNextBuffer, forceMerge, forceMerge, forceMergeDeletes, forceMergeDeletes, getAnalyzer, getConfig, getDirectory, getFieldNames, getLiveCommitData, getMaxCompletedSequenceNumber, getMergingSegments, getNextMerge, getTragicException, hasDeletions, hasPendingMerges, hasUncommittedChanges, incRefDeleter, isOpen, maxDoc, maybeMerge, merge, numDeletedDocs, numDocs, numRamDocs, prepareCommit, ramBytesUsed, rollback, setLiveCommitData, setLiveCommitData, tryDeleteDocument, updateBinaryDocValue, updateDocument, updateDocuments, updateDocValues, updateNumericDocValuepublic static MonitoringIndexWriter create(org.apache.lucene.store.Directory d, org.apache.lucene.index.IndexWriterConfig conf) throws IOException
IOExceptionpublic long addDocument(Iterable<? extends org.apache.lucene.index.IndexableField> doc) throws IOException
addDocument in class org.apache.lucene.index.IndexWriterIOExceptionpublic long addDocuments(Iterable<? extends Iterable<? extends org.apache.lucene.index.IndexableField>> docs) throws IOException
addDocuments in class org.apache.lucene.index.IndexWriterIOExceptionprotected void doAfterFlush()
doAfterFlush in class org.apache.lucene.index.IndexWriterpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.lucene.index.IndexWriterIOExceptionCopyright © 2002-2023 Atlassian. All Rights Reserved.