org.compass.core.lucene.engine.transaction.readcommitted
Class TransIndexManager
java.lang.Object
org.compass.core.lucene.engine.transaction.readcommitted.TransIndexManager
- All Implemented Interfaces:
- CompassConfigurable
public class TransIndexManager
- extends Object
- implements CompassConfigurable
- Author:
- kimchy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransIndexManager
public TransIndexManager(LuceneSearchEngineFactory searchEngineFactory)
configure
public void configure(CompassSettings settings)
throws CompassException
- Description copied from interface:
CompassConfigurable
- Configure using the given settings.
- Specified by:
configure in interface CompassConfigurable
- Parameters:
settings - The settings for the configured object
- Throws:
CompassException
create
public void create(InternalResource resource,
Analyzer analyzer)
throws IOException
- Throws:
IOException
update
public void update(InternalResource resource,
Analyzer analyzer)
throws IOException
- Throws:
IOException
delete
public void delete(ResourceKey resourceKey)
throws IOException
- Throws:
IOException
getReader
public IndexReader getReader(String subIndex)
throws IOException
- Throws:
IOException
getSearcher
public IndexSearcher getSearcher(String subIndex)
throws IOException
- Throws:
IOException
getDirectory
public Directory getDirectory(String subIndex)
hasTransactions
public boolean hasTransactions()
hasTransIndex
public boolean hasTransIndex(String subIndex)
commit
public void commit()
throws IOException
- Throws:
IOException
commit
public void commit(String subIndex)
throws IOException
- Throws:
IOException
close
public void close(String subIndex)
throws IOException
- Throws:
IOException
Copyright (c) 2004-2008 The Compass Project.