Constructor FieldScoreQuery
FieldScoreQuery(String, FieldScoreQuery.Type)
Create a FieldScoreQuery - a query that scores each document as the value of the numeric input field.
The type
param tells how to parse the field string values into a numeric score value.
Declaration
public FieldScoreQuery(String field, FieldScoreQuery.Type type)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | the numeric field to be used. |
FieldScoreQuery.Type | type |