Returns the type of contents in the field.

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

Syntax

C#
public virtual int GetType()
Visual Basic
Public Overridable Function GetType As Integer
Visual C++
public:
virtual int GetType()

Return Value

One of the constants SCORE, DOC, AUTO, STRING, INT or FLOAT.

See Also