Skip to content

Instantly share code, notes, and snippets.

Created July 7, 2014 08:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/a8d1142512e5625e4e91 to your computer and use it in GitHub Desktop.
Save anonymous/a8d1142512e5625e4e91 to your computer and use it in GitHub Desktop.
{
"from": 0,
"query": {
"filtered": {
"filter": {},
"query": {
"bool": {
"should": [
{
"match": {
"match": {
"minimum_should_match": "85%",
"query": "foo bar foo"
}
}
},
{
"match": {
"sec_match": {
"boost": 0.5,
"minimum_should_match": "85%",
"query": "foo bar foo"
}
}
},
{
"match": {
"thi_match": {
"boost": 4,
"minimum_should_match": "85%",
"query": "foo bar foo"
}
}
}
]
}
}
}
},
"size": 10,
"sort": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment