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, updateNumericDocValue
public static MonitoringIndexWriter create(org.apache.lucene.store.Directory d, org.apache.lucene.index.IndexWriterConfig conf) throws IOException
IOException
public long addDocument(Iterable<? extends org.apache.lucene.index.IndexableField> doc) throws IOException
addDocument
in class org.apache.lucene.index.IndexWriter
IOException
public long addDocuments(Iterable<? extends Iterable<? extends org.apache.lucene.index.IndexableField>> docs) throws IOException
addDocuments
in class org.apache.lucene.index.IndexWriter
IOException
protected void doAfterFlush()
doAfterFlush
in class org.apache.lucene.index.IndexWriter
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class org.apache.lucene.index.IndexWriter
IOException
Copyright © 2002-2023 Atlassian. All Rights Reserved.