org.compass.core.lucene.engine.transaction.readcommitted
Class TransIndex
java.lang.Object
org.compass.core.lucene.engine.transaction.readcommitted.TransIndex
- All Implemented Interfaces:
- CompassConfigurable
public class TransIndex
- extends Object
- implements CompassConfigurable
- Author:
- kimchy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransIndex
public TransIndex(LuceneSearchEngineFactory searchEngineFactory,
String subIndex)
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()
throws IOException
- Throws:
IOException
getSearcher
public IndexSearcher getSearcher()
throws IOException
- Throws:
IOException
getDirectory
public Directory getDirectory()
commit
public void commit()
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Throws:
IOException
Copyright (c) 2004-2008 The Compass Project.