Hi,
I have a query which searches on phrase, word level and fuzziness of words searched for.
Is there a method where in I can restrict word and fuzzy matches when exact phrase is matched?
Query developed is :
{
"query" : {
"bool": {
            "should": [
              
              {
                "multi_match": {
                  "query": "this is a test query",
                  "type": "phrase",
                  "boost": "100",
                  "slop": "2",
                  "fields": [
               
                  ]
                }
              },
              {
                "multi_match": {
                  "query": "this is a test query",
                   "analyzer": "whitespace",
                  "fields": [
                   
                  ]
                }
              },
              {
                "multi_match": {
                  "query": "this is a test query",
                  "analyzer": "whitespace",
                    "fuzziness": "AUTO",
                  "fields": [
                  ]
                }
              }
            ],
            "minimum_should_match": 1
          }
     }
}