public class StaleReaderException extends IOException
IndexReader
tries to make changes to the index (via IndexReader.deleteDocument(int)
, IndexReader.undeleteAll()
or IndexReader.setNorm(int, java.lang.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.Constructor and Description |
---|
StaleReaderException(String message) |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public StaleReaderException(String message)