photospace.search
Class IndexerImpl

java.lang.Object
  extended byphotospace.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

Constructor Summary
IndexerImpl()
           
 
Method Summary
 void delete(Meta[] metas)
           
 int index(Meta[] metas, boolean fromScratch)
           
 void init()
           
 void merge(Meta[] metas)
           
 void setIndex(SearchIndex index)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexerImpl

public IndexerImpl()
Method Detail

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)