I'm sure there is a simple solution but it escapes me - even after reading the documentation and attempting multiple approaches. What I would like to accomplish is to quality the search terms in the following query from south-america to south-america~3 to ensure proximity
Thx, Doug
{"size": 1000,"sort" : [ {"randomnum" : {"order" : "desc"}},"_score"],
"query" : {
"bool" : {
"minimum_should_match": 1,
"must" : [{"match": { "source": { "query": "","operator": "or"}}}],
"should" : [
{"match": { "description": { "query": "<Navionics - south-america ->", "fuzziness": "0","operator": "and"}}},
{"match": { "url": { "query": "<Navionics - south-america ->", "fuzziness": "0","operator": "and"}}},
{"match": { "description": { "query": "<Navionics - caribbean ->", "fuzziness": "1","operator": "and"}}},
{"match": { "url": { "query": "<Navionics - caribbean ->", "fuzziness": "1","operator": "and"}}},
{"match": {"description": { "query": "<*>","fuzziness": "0","operator": "and"}}}
]
,"must_not":[
{"match":{"description": "6796666751"}},{"match":{"description": "9227198270"}}
]
}
}
}