public class

StaleReaderException

extends IOException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ org.apache.lucene.index.StaleReaderException

Class Overview

This exception is thrown when an IndexReader tries to make changes to the index (via deleteDocument(int), undeleteAll() or setNorm(int, String, byte)) 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.

Summary

Public Constructors
StaleReaderException(String message)
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public StaleReaderException (String message)