public class ConstantScoreQuery extends Object implements SearchQuery
Constructor and Description |
---|
ConstantScoreQuery(SearchQuery wrappedQuery) |
ConstantScoreQuery(SearchQuery query,
float boost) |
Modifier and Type | Method and Description |
---|---|
SearchQuery |
expand()
This primitive but is similar to
BooleanQuery , which in some sense primitive but also need to implement
expand method, because the wrapped query need to be expanded. |
float |
getBoost() |
String |
getKey() |
List<?> |
getParameters()
List of parameters as
String s or SearchQuery s. |
SearchQuery |
getWrappedQuery() |
public static final String KEY
public ConstantScoreQuery(SearchQuery wrappedQuery)
public ConstantScoreQuery(SearchQuery query, float boost)
public String getKey()
getKey
in interface SearchQuery
public List<?> getParameters()
SearchQuery
String
s or SearchQuery
s.getParameters
in interface SearchQuery
String
s or SearchQuery
s.public SearchQuery expand()
BooleanQuery
, which in some sense primitive but also need to implement
expand method, because the wrapped query need to be expanded.expand
in interface Expandable<SearchQuery>
expand
in interface SearchQuery
public SearchQuery getWrappedQuery()
public float getBoost()
Copyright © 2003–2018 Atlassian. All rights reserved.