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