Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {"query": {
- "bool": {
- "should": [
- {"match_phrase":{
- "_all": {
- "query":string,
- "boost":5
- }}}
- ]
- }
- }
- }
- {"query": {
- "bool": {
- "should": [
- {"match_phrase":{
- "_all": {
- "query":string,"fields":[filed_name],
- "boost":5
- }}}
- ]
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement