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