org.apache.jackrabbit.core.query.lucene
Interface IndexListener


public interface IndexListener

Defines an interface that allows implementing classes to listen for index changes (namely document deletes) while using a ReadOnlyIndexReader.


Method Summary
 void documentDeleted(org.apache.lucene.index.Term id)
          Informs this listener, that the document with id has been deleted.
 

Method Detail

documentDeleted

public void documentDeleted(org.apache.lucene.index.Term id)
Informs this listener, that the document with id has been deleted.

Parameters:
id - the Term that identifies the deleted document.


Copyright © 2004-2006 The Apache Software Foundation. All Rights Reserved.