|
||||||||||
| 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.
| 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_MERGE_FACTOR, DEFAULT_TERM_INDEX_INTERVAL, WRITE_LOCK_NAME, WRITE_LOCK_TIMEOUT |
| Constructor Summary | |
|---|---|
SolrIndexWriter(java.lang.String name,
java.lang.String path,
boolean create,
IndexSchema schema)
|
|
SolrIndexWriter(java.lang.String name,
java.lang.String path,
boolean create,
IndexSchema schema,
SolrIndexConfig config)
|
|
| Method Summary | |
|---|---|
void |
close()
use DocumentBuilder now... |
protected void |
finalize()
|
| Methods inherited from class org.apache.lucene.index.IndexWriter |
|---|
abort, addDocument, addDocument, addIndexes, addIndexes, addIndexesNoOptimize, deleteDocuments, deleteDocuments, docCount, ensureOpen, flush, flushRamSegments, getAnalyzer, getDefaultInfoStream, getDefaultWriteLockTimeout, getDirectory, getInfoStream, getMaxBufferedDeleteTerms, getMaxBufferedDocs, getMaxFieldLength, getMaxMergeDocs, getMergeFactor, getSimilarity, getTermIndexInterval, getUseCompoundFile, getWriteLockTimeout, maybeFlushRamSegments, numRamDocs, optimize, ramSizeInBytes, setDefaultInfoStream, setDefaultWriteLockTimeout, setInfoStream, setMaxBufferedDeleteTerms, setMaxBufferedDocs, setMaxFieldLength, setMaxMergeDocs, setMergeFactor, setSimilarity, setTermIndexInterval, setUseCompoundFile, setWriteLockTimeout, updateDocument, updateDocument |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SolrIndexWriter(java.lang.String name,
java.lang.String path,
boolean create,
IndexSchema schema)
throws java.io.IOException
java.io.IOException
public SolrIndexWriter(java.lang.String name,
java.lang.String path,
boolean create,
IndexSchema schema,
SolrIndexConfig config)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public void close()
throws java.io.IOException
close in class org.apache.lucene.index.IndexWriterjava.io.IOExceptionprotected 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 | |||||||||