Type of score field, indicating how field values are interpreted/parsed.

The type selected at search search time should match the data stored in the field. Different types have different RAM requirements:

  • {@link #BYTE} consumes 1 * maxDocs bytes.
  • {@link #SHORT} consumes 2 * maxDocs bytes.
  • {@link #INT} consumes 4 * maxDocs bytes.
  • {@link #FLOAT} consumes 8 * maxDocs bytes.

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

Syntax

C#
public class Type
Visual Basic
Public Class Type
Visual C++
public ref class Type

Inheritance Hierarchy

System..::..Object
  Lucene.Net.Search.Function..::..FieldScoreQuery..::..Type

See Also