Package | Description |
---|---|
org.apache.lucene.search.function |
Programmatic control over documents scores.
|
Modifier and Type | Field and Description |
---|---|
static FieldScoreQuery.Type |
FieldScoreQuery.Type.BYTE
field values are interpreted as numeric byte values.
|
static FieldScoreQuery.Type |
FieldScoreQuery.Type.FLOAT
field values are interpreted as numeric float values.
|
static FieldScoreQuery.Type |
FieldScoreQuery.Type.INT
field values are interpreted as numeric int values.
|
static FieldScoreQuery.Type |
FieldScoreQuery.Type.SHORT
field values are interpreted as numeric short values.
|
Constructor and Description |
---|
FieldScoreQuery(String field,
FieldScoreQuery.Type type)
Create a FieldScoreQuery - a query that scores each document as the value of the numeric input field.
|