IndexFormatTooNewException

class IndexFormatTooNewException(val resourceDescription: String, val version: Int, val minVersion: Int, val maxVersion: Int) : IOException

This exception is thrown when Lucene detects an index that is newer than this Lucene version.

Constructors

Link copied to clipboard
constructor(resourceDescription: String, version: Int, minVersion: Int, maxVersion: Int)
constructor(in: DataInput, version: Int, minVersion: Int, maxVersion: Int)

Creates an IndexFormatTooNewException

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard

Returns the maximum version accepted

Link copied to clipboard
expect open val message: String?
Link copied to clipboard

Returns the minimum version accepted

Link copied to clipboard

Returns a description of the file that was too new

Link copied to clipboard

Returns the version of the file that was too new

Functions

Link copied to clipboard