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