Class ExistingLuceneIndexMismatchException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ExistingLuceneIndexMismatchException
    extends java.io.IOException
    Thrown when a user tries to create a NexusInder IndexingContext over and existing Lucene index, and there is a mismatch. The reason for mismatch may be multiple: non-NexusIndexer Lucene index (basically missing the descriptor document), index version is wrong or unknown, repositoryId from context and descriptor document does not matches, etc. This exception is not thrown in cases when "reclaim" is done, as in those cases, even if an unknown index is found, descriptor will be forcefully added with current context information, potentially replacing the existing descriptor, if any.
    Since:
    5.1.0
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ExistingLuceneIndexMismatchException

        public ExistingLuceneIndexMismatchException​(java.lang.String message)