Class IndexFormatTooNewException
This exception is thrown when Lucene detects an index that is newer than this Lucene version.
Inheritance
IndexFormatTooNewException
Implements
Inherited Members
Namespace: Lucene.Net.Index
Assembly: Lucene.Net.dll
Syntax
[Serializable]
public class IndexFormatTooNewException : CorruptIndexException, ISerializable
Constructors
IndexFormatTooNewException(DataInput, int, int, int)
Creates an IndexFormatTooNewException
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
Declaration
public IndexFormatTooNewException(DataInput input, int version, int minVersion, int maxVersion)
Parameters
Type | Name | Description |
---|---|---|
DataInput | input | the open file that's too old |
int | version | the version of the file that was too old |
int | minVersion | the minimum version accepted |
int | maxVersion | the maxium version accepted |
IndexFormatTooNewException(string, int, int, int)
Creates an IndexFormatTooNewException
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
Declaration
public IndexFormatTooNewException(string resourceDesc, int version, int minVersion, int maxVersion)
Parameters
Type | Name | Description |
---|---|---|
string | resourceDesc | describes the file that was too old |
int | version | the version of the file that was too old |
int | minVersion | the minimum version accepted |
int | maxVersion | the maxium version accepted |