org.apache.lucene.demo
Class IndexHTML

java.lang.Object
  extended by org.apache.lucene.demo.IndexHTML

 class IndexHTML
extends java.lang.Object


Field Summary
private static boolean deleting
           
private static org.apache.lucene.index.IndexReader reader
           
private static org.apache.lucene.index.TermEnum uidIter
           
private static org.apache.lucene.index.IndexWriter writer
           
 
Constructor Summary
IndexHTML()
           
 
Method Summary
private static void indexDocs(java.io.File file)
           
private static void indexDocs(java.io.File file, java.lang.String index, boolean create)
           
static void main(java.lang.String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

deleting

private static boolean deleting

reader

private static org.apache.lucene.index.IndexReader reader

writer

private static org.apache.lucene.index.IndexWriter writer

uidIter

private static org.apache.lucene.index.TermEnum uidIter
Constructor Detail

IndexHTML

IndexHTML()
Method Detail

main

public static void main(java.lang.String[] argv)

indexDocs

private static void indexDocs(java.io.File file,
                              java.lang.String index,
                              boolean create)
                       throws java.lang.Exception
Throws:
java.lang.Exception

indexDocs

private static void indexDocs(java.io.File file)
                       throws java.lang.Exception
Throws:
java.lang.Exception