org.apache.lenya.lucene.index
Class AbstractIndexer.DeleteHandler

java.lang.Object
  extended by org.apache.lenya.lucene.index.AbstractIndexIteratorHandler
      extended by org.apache.lenya.lucene.index.AbstractIndexer.DeleteHandler
All Implemented Interfaces:
IndexIteratorHandler
Enclosing class:
AbstractIndexer

public static class AbstractIndexer.DeleteHandler
extends AbstractIndexIteratorHandler

Deletes all stale documents up to the document representing the next file. The following documents are deleted:


Constructor Summary
AbstractIndexer.DeleteHandler()
           
 
Method Summary
 void handleStaleDocument(org.apache.lucene.index.IndexReader reader, org.apache.lucene.index.Term term)
          Handles a stale document.
 
Methods inherited from class org.apache.lenya.lucene.index.AbstractIndexIteratorHandler
handleFile, handleNewDocument, handleUnmodifiedDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractIndexer.DeleteHandler

public AbstractIndexer.DeleteHandler()
Method Detail

handleStaleDocument

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

Specified by:
handleStaleDocument in interface IndexIteratorHandler
Overrides:
handleStaleDocument in class AbstractIndexIteratorHandler


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