org.apache.lucene.index
Class StaleReaderException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.apache.lucene.index.StaleReaderException
-
- All Implemented Interfaces:
- java.io.Serializable
public class StaleReaderException extends java.io.IOExceptionThis exception is thrown when anIndexReadertries to make changes to the index (viaIndexReader.deleteDocument(int),IndexReader.undeleteAll()orIndexReader.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.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description StaleReaderException(java.lang.String message)
-
DataMelt 3.0 © DataMelt by jWork.ORG