Class IndexFormatTooNewException
This exception is thrown when Lucene detects an index that is newer than this Lucene version.
Namespace: Lucene.Net.Index
Assembly: Lucene.Net.dll
Syntax
public class IndexFormatTooNewException : CorruptIndexException
Constructors
| Improve this Doc View SourceIndexFormatTooNewException(DataInput, Int32, Int32, Int32)
Declaration
public IndexFormatTooNewException(DataInput input, int version, int minVersion, int maxVersion)
Parameters
Type | Name | Description |
---|---|---|
Data |
input | the open file that's too old |
System. |
version | the version of the file that was too old |
System. |
minVersion | the minimum version accepted |
System. |
maxVersion | the maxium version accepted |
IndexFormatTooNewException(String, Int32, Int32, Int32)
Declaration
public IndexFormatTooNewException(string resourceDesc, int version, int minVersion, int maxVersion)
Parameters
Type | Name | Description |
---|---|---|
System. |
resourceDesc | describes the file that was too old |
System. |
version | the version of the file that was too old |
System. |
minVersion | the minimum version accepted |
System. |
maxVersion | the maxium version accepted |