org.apache.lenya.lucene.index
Interface IndexIteratorHandler

All Known Implementing Classes:
AbstractIndexer.CreateIndexHandler, AbstractIndexer.DeleteHandler, AbstractIndexer.IndexHandler, AbstractIndexer.UpdateIndexHandler, AbstractIndexIteratorHandler, IndexInformation.CreateHandler, IndexInformation.UpdateHandler

public interface IndexIteratorHandler


Method Summary
 void handleFile(org.apache.lucene.index.IndexReader reader, java.io.File file)
          Handles a file.
 void handleNewDocument(org.apache.lucene.index.IndexReader reader, org.apache.lucene.index.Term term, java.io.File file)
          Handles a new document and the file that represents it.
 void handleStaleDocument(org.apache.lucene.index.IndexReader reader, org.apache.lucene.index.Term term)
          Handles a stale document.
 void handleUnmodifiedDocument(org.apache.lucene.index.IndexReader reader, org.apache.lucene.index.Term term, java.io.File file)
          Handles an unmodified document and the file that represents it.
 

Method Detail

handleFile

void handleFile(org.apache.lucene.index.IndexReader reader,
                java.io.File file)
Handles a file. This is called for every file and mainly used for creating a new index.


handleStaleDocument

void handleStaleDocument(org.apache.lucene.index.IndexReader reader,
                         org.apache.lucene.index.Term term)
Handles a stale document.


handleUnmodifiedDocument

void handleUnmodifiedDocument(org.apache.lucene.index.IndexReader reader,
                              org.apache.lucene.index.Term term,
                              java.io.File file)
Handles an unmodified document and the file that represents it.


handleNewDocument

void handleNewDocument(org.apache.lucene.index.IndexReader reader,
                       org.apache.lucene.index.Term term,
                       java.io.File file)
Handles a new document and the file that represents it.



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