com.ingenta.clownbike
Class Index

java.lang.Object
  extended bycom.ingenta.clownbike.Index

public class Index
extends java.lang.Object


Constructor Summary
Index(java.io.File directory)
           
 
Method Summary
 void close(java.lang.Object object)
           
 java.io.File getDirectory()
           
 org.apache.lucene.index.IndexReader getReader()
           
 org.apache.lucene.search.Searcher getSearcher(org.apache.lucene.index.IndexReader reader)
           
 org.apache.lucene.index.IndexWriter getWriter(boolean initialize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Index

public Index(java.io.File directory)
Method Detail

getDirectory

public java.io.File getDirectory()

getWriter

public org.apache.lucene.index.IndexWriter getWriter(boolean initialize)
                                              throws java.io.IOException
Throws:
java.io.IOException

getReader

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

getSearcher

public org.apache.lucene.search.Searcher getSearcher(org.apache.lucene.index.IndexReader reader)
                                              throws java.io.IOException
Throws:
java.io.IOException

close

public void close(java.lang.Object object)
           throws java.io.IOException
Throws:
java.io.IOException