Created
July 7, 2014 08:44
-
-
Save anonymous/a8d1142512e5625e4e91 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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