public interface QueryCustomization<T>
Modifier and Type | Method and Description |
---|---|
T |
boostedTo(float boost)
Boost the query to a given value
Most of the time positive float:
- lower than 1 to diminish the weight
- higher than 1 to increase the weight
Could be negative but not unless you understand what is going on (advanced)
|
T |
filteredBy(Filter filter)
Filter the query results with the Filter instance
|
T |
withConstantScore()
All results matching the query have a constant score equals to the boost
FIXME is that true?
|
T boostedTo(float boost)
boost
- the value to use as boostT withConstantScore()
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved