FileDocCategorySizeDatePackage
StaleReaderException.javaAPI DocApache Lucene 2.2.01399Sat Jun 16 22:20:36 BST 2007org.apache.lucene.index

StaleReaderException

public class StaleReaderException extends IOException
This exception is thrown when an {@link IndexReader} tries to make changes to the index (via {@link IndexReader#deleteDocument}, {@link IndexReader#undeleteAll} or {@link IndexReader#setNorm}) but changes have already been committed to the index since this reader was instantiated. When this happens you must open a new reader on the current index to make the changes.

Fields Summary
Constructors Summary
public StaleReaderException(String message)

    super(message);
  
Methods Summary