I'd like to use the Completion and Phrase Suggesters together, like this:
"suggest": {
"text": query,
"completion": {
"field": "ymme",
"size": 5
}
},
"suggest": {
"text": query,
"phraseSuggestion": {
"phrase": {
"field": "movies",
"direct_generator": [{
"field": "movies",
"suggest_mode": "popular",
"min_word_length": 8,
"prefix_length": 8
}]
}
}
},