Help:CirrusSearch/Elasticsearch

Search string:
{   "query": { "bool": { "minimum_number_should_match": 1, "should": [ {           "safer": { "phrase": { "phrase_too_large_action": "convert_to_term_queries" },             "query": { "query_string": { "query": "main", "fields": [ "all.plain^1", "all^0.5" ],                 "auto_generate_phrase_queries": true, "phrase_slop": 0, "default_operator": "AND", "allow_leading_wildcard": false, "fuzzy_prefix_length": 2, "rewrite": "top_terms_128" }             }            }          },          {            "multi_match": { "fields": [ "all_near_match^2" ],             "query": "main" }         }        ]      }    }  }

Search string:
{   "query": { "safer": { "phrase": { "phrase_too_large_action": "convert_to_term_queries" },       "query": { "query_string": { "query": "(all.plain:\"main\"~0^1)", "fields": [ "all.plain^1", "all^0.5" ],           "auto_generate_phrase_queries": true, "phrase_slop": 0, "default_operator": "AND", "allow_leading_wildcard": false, "fuzzy_prefix_length": 2, "rewrite": "top_terms_128" }       }      }    }  }