org.apache.lenya.lucene.index
Interface Indexer

All Known Implementing Classes:
AbstractIndexer, ConfigurableIndexer, DefaultIndexer

public interface Indexer


Method Summary
 void configure(org.w3c.dom.Element indexer, java.lang.String configFileName)
          Configures this indexer.
 void createIndex(java.io.File dumpDirectory, java.io.File index)
          Indexes the contents of a directory.
 void indexDocument(java.io.File file)
          Indexes the content of one file
 void updateIndex(java.io.File dumpDirectory, java.io.File index)
          Indexes the contents of a directory.
 

Method Detail

configure

void configure(org.w3c.dom.Element indexer,
               java.lang.String configFileName)
               throws java.lang.Exception
Configures this indexer.

Throws:
java.lang.Exception

createIndex

void createIndex(java.io.File dumpDirectory,
                 java.io.File index)
                 throws java.lang.Exception
Indexes the contents of a directory.

Throws:
java.lang.Exception

updateIndex

void updateIndex(java.io.File dumpDirectory,
                 java.io.File index)
                 throws java.lang.Exception
Indexes the contents of a directory.

Throws:
java.lang.Exception

indexDocument

void indexDocument(java.io.File file)
                   throws java.lang.Exception
Indexes the content of one file

Throws:
java.lang.Exception


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.