public class BoostQuery extends Query
getQuery()
Constructor and Description |
---|
BoostQuery(Query boostedQuery,
Double boost) |
Modifier and Type | Method and Description |
---|---|
BoostQuery |
clone() |
Double |
getBoost() |
List<Query> |
getChildQueries()
Returns all the children of the query in question.
|
Query |
getQuery() |
boolean |
replaceChildQuery(Query toReplace,
Query replacement)
Swap 'replacement' in as a replacement, if 'toReplace' is currently a child of this Query object.
|
void |
setBoost(double boost) |
clone, deepClone
public static final String TYPE
public Query getQuery()
public Double getBoost()
public void setBoost(double boost)
public List<Query> getChildQueries()
Query
List
is provided as a copy - changes made to it do not impact the originating Query object
in any way.getChildQueries
in class Query
public boolean replaceChildQuery(Query toReplace, Query replacement)
Query
replaceChildQuery
in class Query
public BoostQuery clone()