Class Constants
Some useful constants.
Inheritance
Assembly: DistributedLucene.Net.dll
Syntax
public sealed class Constants : object
Fields
Name | Description |
---|---|
FREE_BSD | True iff running on FreeBSD |
LINUX | True iff running on Linux. |
LUCENE_MAIN_VERSION | this is the internal Lucene version, recorded into each segment.
NOTE: we track per-segment version as a Alpha and Beta versions will have numbers like |
LUCENE_VERSION | This is the Lucene version for display purposes. |
MAC_OS_X | True iff running on Mac OS X |
OS_ARCH | |
OS_NAME | The value of |
OS_VERSION | |
RUNTIME_IS_64BIT | NOTE: This was JRE_IS_64BIT in Lucene |
RUNTIME_VENDOR | NOTE: This was JAVA_VENDOR in Lucene |
RUNTIME_VERSION | The value of the version parsed from NOTE: This was JAVA_VERSION in Lucene |
SUN_OS | True iff running on SunOS. |
WINDOWS | True iff running on Windows. |
Methods
Name | Description |
---|---|
MainVersionWithoutAlphaBeta() | Returns a LUCENE_MAIN_VERSION without any ALPHA/BETA qualifier Used by test only! |