org.compass.core.lucene.engine.transaction
Class BatchInsertTransaction.WriterManager
java.lang.Object
org.compass.core.lucene.engine.transaction.BatchInsertTransaction.WriterManager
- Enclosing class:
- BatchInsertTransaction
public static class BatchInsertTransaction.WriterManager
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BatchInsertTransaction.WriterManager
public BatchInsertTransaction.WriterManager(LuceneSearchEngineIndexManager indexManager)
hasWriterForSubIndex
public boolean hasWriterForSubIndex(String subIndex)
getWriterForSubIndex
public BatchInsertTransaction.WriterManager.IndexWriterWrapper getWriterForSubIndex(String subIndex)
size
public int size()
clear
public void clear()
openWriterBySubIndex
public BatchInsertTransaction.WriterManager.IndexWriterWrapper openWriterBySubIndex(String subIndex)
throws SearchEngineException
- Throws:
SearchEngineException
closeIndexWriters
public void closeIndexWriters(boolean withDirs,
boolean withOptimize)
throws SearchEngineException
- Throws:
SearchEngineException
Copyright (c) 2004-2006 The Compass Project.