A query that scores each document as the value of the numeric input field.
The query matches all documents, and scores each document according to the numeric
value of that field.
It is assumed, and expected, that:
- The field used here is indexed, and has exactly one token in every scored document.
- Best if this field is un_tokenized.
- That token is parsable to the selected type.
- {@link Type#BYTE} consumes 1 * maxDocs bytes.
- {@link Type#SHORT} consumes 2 * maxDocs bytes.
- {@link Type#INT} consumes 4 * maxDocs bytes.
- {@link Type#FLOAT} consumes 8 * maxDocs bytes.
The FieldScoreQuery..::..Type type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | (Overrides Object..::..ToString()()()().) |
Fields
Name | Description | |
---|---|---|
BYTE | field values are interpreted as numeric byte values. | |
FLOAT | field values are interpreted as numeric float values. | |
INT | field values are interpreted as numeric int values. | |
SHORT | field values are interpreted as numeric short values. |