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

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

public class AbstractIndexer.UpdateIndexHandler
extends AbstractIndexer.IndexHandler

DOCUMENT ME!


Constructor Summary
AbstractIndexer.UpdateIndexHandler(java.io.File dumpDirectory, IndexInformation info, org.apache.lucene.index.IndexWriter writer)
          Creates a new UpdateIndexHandler object.
 
Method Summary
 void handleNewDocument(org.apache.lucene.index.IndexReader reader, org.apache.lucene.index.Term term, java.io.File file)
          Handles a new document.
 
Methods inherited from class org.apache.lenya.lucene.index.AbstractIndexer.IndexHandler
addFile, getDumpDirectory, getInformation, getWriter
 
Methods inherited from class org.apache.lenya.lucene.index.AbstractIndexIteratorHandler
handleFile, handleStaleDocument, handleUnmodifiedDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractIndexer.UpdateIndexHandler

public AbstractIndexer.UpdateIndexHandler(java.io.File dumpDirectory,
                                          IndexInformation info,
                                          org.apache.lucene.index.IndexWriter writer)
Creates a new UpdateIndexHandler object.

Parameters:
dumpDirectory - DOCUMENT ME!
info - DOCUMENT ME!
writer - DOCUMENT ME!
Method Detail

handleNewDocument

public void handleNewDocument(org.apache.lucene.index.IndexReader reader,
                              org.apache.lucene.index.Term term,
                              java.io.File file)
Handles a new document. Used when updating the index.

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


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