photospace.search
Class IndexerImpl
java.lang.Object
photospace.search.IndexerImpl
- All Implemented Interfaces:
- Indexer, java.io.Serializable
- public class IndexerImpl
- extends java.lang.Object
- implements java.io.Serializable, Indexer
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexerImpl
public IndexerImpl()
init
public void init()
throws java.io.IOException
- Throws:
java.io.IOException
index
public int index(Meta[] metas,
boolean fromScratch)
throws java.io.IOException
- Specified by:
index
in interface Indexer
- Throws:
java.io.IOException
merge
public void merge(Meta[] metas)
throws java.lang.Exception
- Specified by:
merge
in interface Indexer
- Throws:
java.lang.Exception
delete
public void delete(Meta[] metas)
throws java.io.IOException
- Specified by:
delete
in interface Indexer
- Throws:
java.io.IOException
setIndex
public void setIndex(SearchIndex index)