Skip to content

Instantly share code, notes, and snippets.

@rinatkhaziev
Created August 19, 2014 20:43
Show Gist options
  • Save rinatkhaziev/e4489e38690f683bf7e8 to your computer and use it in GitHub Desktop.
Save rinatkhaziev/e4489e38690f683bf7e8 to your computer and use it in GitHub Desktop.
Suggester
{
"suggest": {
"text": keyword,
"title-suggest": {
"term": { "field": "title" },
"size": 3
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment