Modifier and Type | Method and Description |
---|---|
static FunctionScoreQueryBuilder |
QueryBuilders.functionScoreQuery(FilterBuilder filterBuilder,
ScoreFunctionBuilder function)
A query that allows to define a custom scoring function.
|
static FunctionScoreQueryBuilder |
QueryBuilders.functionScoreQuery(QueryBuilder queryBuilder,
FilterBuilder filterBuilder,
ScoreFunctionBuilder function)
A query that allows to define a custom scoring function.
|
static FunctionScoreQueryBuilder |
QueryBuilders.functionScoreQuery(QueryBuilder queryBuilder,
ScoreFunctionBuilder function)
A query that allows to define a custom scoring function.
|
static FunctionScoreQueryBuilder |
QueryBuilders.functionScoreQuery(ScoreFunctionBuilder function)
A query that allows to define a custom scoring function.
|
Modifier and Type | Class and Description |
---|---|
class |
DecayFunctionBuilder |
Modifier and Type | Method and Description |
---|---|
ScoreFunctionBuilder |
DecayFunctionBuilder.setMultiValueMode(MultiValueMode multiValueMode) |
ScoreFunctionBuilder |
DecayFunctionBuilder.setMultiValueMode(String multiValueMode) |
ScoreFunctionBuilder |
ScoreFunctionBuilder.setWeight(float weight) |
Modifier and Type | Method and Description |
---|---|
FunctionScoreQueryBuilder |
FunctionScoreQueryBuilder.add(FilterBuilder filter,
ScoreFunctionBuilder scoreFunctionBuilder)
Adds a score function that will will execute the function scoreFunctionBuilder on all documents matching the filter.
|
FunctionScoreQueryBuilder |
FunctionScoreQueryBuilder.add(ScoreFunctionBuilder scoreFunctionBuilder)
Adds a score function that will will execute the function scoreFunctionBuilder on all documents.
|
Constructor and Description |
---|
FunctionScoreQueryBuilder(ScoreFunctionBuilder scoreFunctionBuilder)
Creates a function_score query that will execute the function scoreFunctionBuilder on all documents.
|
Modifier and Type | Class and Description |
---|---|
class |
ExponentialDecayFunctionBuilder |
Modifier and Type | Class and Description |
---|---|
class |
FactorBuilder
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ScoreFunctionBuilder |
FactorBuilder.setWeight(float weight)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
FieldValueFactorFunctionBuilder
Builder to construct
field_value_factor functions for a function
score query. |
Modifier and Type | Class and Description |
---|---|
class |
GaussDecayFunctionBuilder |
Modifier and Type | Class and Description |
---|---|
class |
LinearDecayFunctionBuilder |
Modifier and Type | Class and Description |
---|---|
class |
RandomScoreFunctionBuilder
A function that computes a random score for the matched documents
|
Modifier and Type | Class and Description |
---|---|
class |
ScriptScoreFunctionBuilder
A function that uses a script to compute or influence the score of documents
that match with the inner query or filter.
|
Modifier and Type | Class and Description |
---|---|
class |
WeightBuilder
A query that multiplies the weight to the score.
|
Copyright © 2009–2015. All rights reserved.