Guess type of sort based on field contents. A regular expression is used to look at the first term indexed for the field and determine if it represents an integer number, a floating point number, or just arbitrary string characters.

Namespace: Lucene.Net.Search
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
[ObsoleteAttribute("Please specify the exact type, instead. Especially, guessing does not work with the new NumericField type.")]
public const int AUTO
Visual Basic
<ObsoleteAttribute("Please specify the exact type, instead. Especially, guessing does not work with the new NumericField type.")> _
Public Const AUTO As Integer
Visual C++
[ObsoleteAttribute(L"Please specify the exact type, instead. Especially, guessing does not work with the new NumericField type.")]
public:
literal int AUTO

See Also