Apache Lucene.Net 2.4.0 Class Library API

StaleReaderException Class

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.

For a list of all members of this type, see StaleReaderException Members.

System.Object
   System.Exception
      System.SystemException
         System.IO.IOException
            Lucene.Net.Index.StaleReaderException

public class StaleReaderException : IOException

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: Lucene.Net.Index

Assembly: Lucene.Net (in Lucene.Net.dll)

See Also

StaleReaderException Members | Lucene.Net.Index Namespace