|
||||||||||
| 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.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_MAX_MERGE_DOCS, DEFAULT_MAX_SYNC_PAUSE_SECONDS, DEFAULT_MERGE_FACTOR, 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,
boolean create,
IndexSchema schema)
|
|
SolrIndexWriter(String name,
String path,
boolean create,
IndexSchema schema,
SolrIndexConfig config)
|
|
| Method Summary | |
|---|---|
void |
close()
use DocumentBuilder now... |
protected void |
finalize()
|
static org.apache.lucene.store.Directory |
getDirectory(String path,
SolrIndexConfig config)
|
| Methods inherited from class org.apache.lucene.index.IndexWriter |
|---|
abort, addDocument, addDocument, addIndexes, addIndexes, addIndexesNoOptimize, close, commit, deleteDocuments, deleteDocuments, deleteDocuments, deleteDocuments, docCount, ensureOpen, ensureOpen, expungeDeletes, expungeDeletes, flush, flush, getAnalyzer, getDefaultInfoStream, getDefaultWriteLockTimeout, getDirectory, getInfoStream, getMaxBufferedDeleteTerms, getMaxBufferedDocs, getMaxFieldLength, getMaxMergeDocs, getMaxSyncPauseSeconds, getMergeFactor, getMergePolicy, getMergeScheduler, getRAMBufferSizeMB, getSimilarity, getTermIndexInterval, getUseCompoundFile, getWriteLockTimeout, hasDeletions, isLocked, isLocked, maxDoc, maybeMerge, message, numDocs, numRamDocs, optimize, optimize, optimize, optimize, prepareCommit, ramSizeInBytes, rollback, segString, setDefaultInfoStream, setDefaultWriteLockTimeout, setInfoStream, setMaxBufferedDeleteTerms, setMaxBufferedDocs, setMaxFieldLength, setMaxMergeDocs, setMaxSyncPauseSeconds, setMergeFactor, setMergePolicy, setMergeScheduler, setRAMBufferSizeMB, setSimilarity, setTermIndexInterval, setUseCompoundFile, setWriteLockTimeout, unlock, updateDocument, updateDocument |
| 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,
boolean create,
IndexSchema schema)
throws IOException
IOException
public SolrIndexWriter(String name,
String path,
boolean create,
IndexSchema schema,
SolrIndexConfig config)
throws IOException
IOException| Method Detail |
|---|
public static org.apache.lucene.store.Directory getDirectory(String path,
SolrIndexConfig config)
throws IOException
IOException
public void close()
throws IOException
close in class org.apache.lucene.index.IndexWriterIOExceptionprotected void finalize()
finalize in class org.apache.lucene.index.IndexWriter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||