public class NexusIndexWriter
extends org.apache.lucene.index.IndexWriter
| Modifier and Type | Class and Description |
|---|---|
static interface |
NexusIndexWriter.IndexWriterConfigFactory |
| Modifier and Type | Field and Description |
|---|---|
static NexusIndexWriter.IndexWriterConfigFactory |
CONFIG_FACTORY |
| Constructor and Description |
|---|
NexusIndexWriter(org.apache.lucene.store.Directory directory,
org.apache.lucene.analysis.Analyzer analyzer,
boolean create) |
NexusIndexWriter(org.apache.lucene.store.Directory directory,
org.apache.lucene.index.IndexWriterConfig config) |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.lucene.index.IndexWriterConfig |
defaultConfig() |
addDocument, addDocuments, addIndexes, addIndexes, advanceSegmentInfosVersion, close, commit, decRefDeleter, deleteAll, deleteDocuments, deleteDocuments, deleteUnusedFiles, doAfterFlush, doBeforeFlush, ensureOpen, ensureOpen, flush, 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 NexusIndexWriter.IndexWriterConfigFactory CONFIG_FACTORY
public NexusIndexWriter(org.apache.lucene.store.Directory directory,
org.apache.lucene.analysis.Analyzer analyzer,
boolean create)
throws org.apache.lucene.index.CorruptIndexException,
org.apache.lucene.store.LockObtainFailedException,
IOException
org.apache.lucene.index.CorruptIndexExceptionorg.apache.lucene.store.LockObtainFailedExceptionIOExceptionpublic NexusIndexWriter(org.apache.lucene.store.Directory directory,
org.apache.lucene.index.IndexWriterConfig config)
throws org.apache.lucene.index.CorruptIndexException,
org.apache.lucene.store.LockObtainFailedException,
IOException
org.apache.lucene.index.CorruptIndexExceptionorg.apache.lucene.store.LockObtainFailedExceptionIOExceptionCopyright © 2002–2019 The Apache Software Foundation. All rights reserved.