@Internal public class ConstantScoreQueryMapper extends Object implements ESQueryMapper<ConstantScoreQuery>
Constructor and Description |
---|
ConstantScoreQueryMapper(ESQueryMapper<SearchQuery> delegate) |
Modifier and Type | Method and Description |
---|---|
String |
getQueryKey() |
org.elasticsearch.index.query.QueryBuilder |
map(ConstantScoreQuery query)
Transforms a v2 query into an ES query.
|
public ConstantScoreQueryMapper(ESQueryMapper<SearchQuery> delegate)
public org.elasticsearch.index.query.QueryBuilder map(ConstantScoreQuery query)
ESQueryMapper
map
in interface ESQueryMapper<ConstantScoreQuery>
query
- the v2 query to transformpublic String getQueryKey()
getQueryKey
in interface ESQueryMapper<ConstantScoreQuery>
Copyright © 2003–2017 Atlassian. All rights reserved.