Enum NumericRepresentation
Specifies how a time will be represented as a long.
Namespace: Lucene.Net.Documents
Assembly: Lucene.Net.dll
Syntax
public enum NumericRepresentation
Fields
Name | Description |
---|---|
TICKS | The .NET ticks representing a date. Specify this to pass the raw ticks from Ticks or to instantiate a new DateTime from the result. |
TICKS_AS_MILLISECONDS | .NET ticks as total milliseconds.
Input values must be converted using the formula |
UNIX_TIME_MILLISECONDS | The number of milliseconds since January 1, 1970, 00:00:00 UTC (also known as the "epoch"). This is the format that Lucene uses, and it is recommended to store this value in the index for compatibility. |