maiolum.plainxml.indexing.lucene
Class LuceneIndexWriter

java.lang.Object
  extended bymaiolum.plainxml.indexing.lucene.LuceneIndexWriter

public class LuceneIndexWriter
extends java.lang.Object

Author:
Robert Novotny

Constructor Summary
LuceneIndexWriter(java.lang.String indexLocation)
           
 
Method Summary
 void close()
           
static void main(java.lang.String[] args)
           
 void read(java.lang.String queryString, DataSource ds)
           
 void reindex(PXBibleModule module)
           
 void reindex(PXDataSource dataSource)
           
 void write()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneIndexWriter

public LuceneIndexWriter(java.lang.String indexLocation)
                  throws BackendException
Method Detail

reindex

public void reindex(PXDataSource dataSource)
             throws IndexIOException
Throws:
IndexIOException

reindex

public void reindex(PXBibleModule module)
             throws IndexIOException
Throws:
IndexIOException

write

public void write()
           throws java.lang.Exception
Throws:
java.lang.Exception

read

public void read(java.lang.String queryString,
                 DataSource ds)
          throws java.lang.Exception
Throws:
java.lang.Exception

close

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

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception