|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.index.IndexWriter
org.apache.solr.update.SolrIndexWriter
public class SolrIndexWriter
An IndexWriter that is configured via Solr config mechanisms.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.lucene.index.IndexWriter |
|---|
org.apache.lucene.index.IndexWriter.IndexReaderWarmer, org.apache.lucene.index.IndexWriter.MaxFieldLength |
| Field Summary |
|---|
| Fields inherited from class org.apache.lucene.index.IndexWriter |
|---|
DEFAULT_MAX_BUFFERED_DELETE_TERMS, DEFAULT_MAX_BUFFERED_DOCS, DEFAULT_MAX_FIELD_LENGTH, DEFAULT_RAM_BUFFER_SIZE_MB, DEFAULT_TERM_INDEX_INTERVAL, DISABLE_AUTO_FLUSH, MAX_TERM_LENGTH, WRITE_LOCK_NAME, WRITE_LOCK_TIMEOUT |
| Constructor Summary | |
|---|---|
SolrIndexWriter(String name,
String path,
DirectoryFactory dirFactory,
boolean create,
IndexSchema schema,
SolrIndexConfig config,
org.apache.lucene.index.IndexDeletionPolicy delPolicy)
|
|
| Method Summary | |
|---|---|
void |
close()
|
protected void |
finalize()
|
static org.apache.lucene.store.Directory |
getDirectory(String path,
DirectoryFactory directoryFactory,
SolrIndexConfig config)
|
void |
rollback()
|
| Methods inherited from class org.apache.lucene.index.IndexWriter |
|---|
addDocument, addDocument, addDocuments, addDocuments, addIndexes, addIndexes, addIndexesNoOptimize, close, commit, commit, deleteAll, deleteDocuments, deleteDocuments, deleteDocuments, deleteDocuments, deleteUnusedFiles, doAfterFlush, doBeforeFlush, ensureOpen, ensureOpen, expungeDeletes, expungeDeletes, flush, flush, forceMerge, forceMerge, forceMergeDeletes, forceMergeDeletes, getAnalyzer, getConfig, getDefaultInfoStream, getDefaultWriteLockTimeout, getDirectory, getInfoStream, getMaxBufferedDeleteTerms, getMaxBufferedDocs, getMaxFieldLength, getMaxMergeDocs, getMergedSegmentWarmer, getMergeFactor, getMergePolicy, getMergeScheduler, getMergingSegments, getNextMerge, getPayloadProcessorProvider, getRAMBufferSizeMB, getReader, getReader, getReaderTermsIndexDivisor, getSimilarity, getTermIndexInterval, getUseCompoundFile, getWriteLockTimeout, hasDeletions, isLocked, maxDoc, maybeMerge, merge, message, numDeletedDocs, numDocs, numRamDocs, optimize, optimize, optimize, prepareCommit, prepareCommit, ramSizeInBytes, segString, segString, segString, setDefaultInfoStream, setDefaultWriteLockTimeout, setInfoStream, setMaxBufferedDeleteTerms, setMaxBufferedDocs, setMaxFieldLength, setMaxMergeDocs, setMergedSegmentWarmer, setMergeFactor, setMergePolicy, setMergeScheduler, setPayloadProcessorProvider, setRAMBufferSizeMB, setReaderTermsIndexDivisor, setSimilarity, setTermIndexInterval, setUseCompoundFile, setWriteLockTimeout, unlock, updateDocument, updateDocument, updateDocuments, updateDocuments, verbose, waitForMerges |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SolrIndexWriter(String name,
String path,
DirectoryFactory dirFactory,
boolean create,
IndexSchema schema,
SolrIndexConfig config,
org.apache.lucene.index.IndexDeletionPolicy delPolicy)
throws IOException
IOException| Method Detail |
|---|
public static org.apache.lucene.store.Directory getDirectory(String path,
DirectoryFactory directoryFactory,
SolrIndexConfig config)
throws IOException
IOException
public void close()
throws IOException
close in interface Closeableclose in class org.apache.lucene.index.IndexWriterIOException
public void rollback()
throws IOException
rollback in interface org.apache.lucene.util.TwoPhaseCommitrollback in class org.apache.lucene.index.IndexWriterIOException
protected void finalize()
throws Throwable
finalize in class ObjectThrowable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||