photospace.search
Class SearchIndex

java.lang.Object
  extended byphotospace.search.SearchIndex

public class SearchIndex
extends java.lang.Object


Constructor Summary
SearchIndex(java.io.File index)
           
 
Method Summary
 void closeReader()
           
 java.io.File getIndex()
           
 org.apache.lucene.index.IndexReader getReader()
           
 void update(java.io.File updated)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchIndex

public SearchIndex(java.io.File index)
            throws java.io.IOException
Method Detail

getReader

public org.apache.lucene.index.IndexReader getReader()
                                              throws java.io.IOException
Throws:
java.io.IOException

closeReader

public void closeReader()
                 throws java.io.IOException
Throws:
java.io.IOException

update

public void update(java.io.File updated)
            throws java.io.IOException
Throws:
java.io.IOException

getIndex

public java.io.File getIndex()