{"query":{"bool":{"must":{"function_score":{"functions":[{"weight":0.00040000000000000002,"filter":{"terms":{"customertype":["FL"]}}},{"weight":0.00075000000000000002,"filter":{"terms":{"customertype":["OC","PC","VB1","VB2"]}}},{"weight":0.00089999999999999998,"filter":{"terms":{"customertype":["OL"]}}},{"field_value_factor":{"field":"rawbillingt","factor":0.001,"missing":0}},{"weight":3.5,"filter":{"bool":{"must":[{"multi_match":{"query":"\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e23\u0e31\u0e1a\u0e40\u0e08\u0e32\u0e30\u0e19\u0e49\u0e33\u0e1a\u0e32\u0e14\u0e32\u0e25","type":"phrase","minimum_should_match":"100%","fields":["headingnamet","headingnamee"]}},{"multi_match":{"query":"\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e23\u0e31\u0e1a\u0e40\u0e08\u0e32\u0e30\u0e19\u0e49\u0e33\u0e1a\u0e32\u0e14\u0e32\u0e25","type":"phrase","minimum_should_match":"100%","fields":["headingnamet","headingnamee"]}}]}}},{"weight":3,"filter":{"bool":{"must_not":[{"terms":{"customertype":["FL"]}}],"must":[{"multi_match":{"query":"\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e23\u0e31\u0e1a\u0e40\u0e08\u0e32\u0e30\u0e19\u0e49\u0e33\u0e1a\u0e32\u0e14\u0e32\u0e25","type":"phrase","minimum_should_match":"100%","fields":["humannamet","humannamenorm","custnamet","custnamee"]}}]}}},{"weight":2,"filter":{"bool":{"must_not":[{"term":{"customertype":"FL"}}],"must":[{"bool":{"should":[{"multi_match":{"query":"\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e23\u0e31\u0e1a\u0e40\u0e08\u0e32\u0e30\u0e19\u0e49\u0e33\u0e1a\u0e32\u0e14\u0e32\u0e25","type":"best_fields","minimum_should_match":"100%","fields":["humannamet","humannamenorm","custnamet","custnamee","brandnamet","brandnamee","formernamet","formernamee","fullbodyt","fullbodye"]}}]}}]}}},{"weight":2.2000000000000002,"filter":{"bool":{"must_not":[{"term":{"customertype":"FL"}}],"must":[{"bool":{"should":[{"multi_match":{"query":"\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e23\u0e31\u0e1a\u0e40\u0e08\u0e32\u0e30\u0e19\u0e49\u0e33\u0e1a\u0e32\u0e14\u0e32\u0e25","type":"phrase","minimum_should_match":"100%","fields":["fullbodyt","fullbodye"]}}]}}]}}}],"score_mode":"sum","boost_mode":"sum","query":{"bool":{"must":{"bool":{"should":[{"multi_match":{"query":"\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e23\u0e31\u0e1a\u0e40\u0e08\u0e32\u0e30\u0e19\u0e49\u0e33\u0e1a\u0e32\u0e14\u0e32\u0e25","type":"phrase","minimum_should_match":"100%","fields":["humannamet.atcp","humannamenorm","humannamenost","humannamenose"]}},{"multi_match":{"query":"\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e23\u0e31\u0e1a\u0e40\u0e08\u0e32\u0e30\u0e19\u0e49\u0e33\u0e1a\u0e32\u0e14\u0e32\u0e25","type":"cross_fields","minimum_should_match":"100%","fields":["fullbodyt^7","fullbodye^7"]}},{"multi_match":{"query":"\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e23\u0e31\u0e1a\u0e40\u0e08\u0e32\u0e30\u0e19\u0e49\u0e33\u0e1a\u0e32\u0e14\u0e32\u0e25","tie_breaker":"1","type":"phrase","slop":1,"fields":["humannamet^9","custnamet^9","custnamee^9","humannamenorm^9","headingnamet^4","headingnamee^4","fullbodyt^7","fullbodye^7","brandnamet^2","brandnamee^2","formernamet^2","formernamee^2"]}}]}},"should":[{"multi_match":{"query":"\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e23\u0e31\u0e1a\u0e40\u0e08\u0e32\u0e30\u0e19\u0e49\u0e33\u0e1a\u0e32\u0e14\u0e32\u0e25","minimum_should_match":"2<60%","fuzziness":"1","type":"best_fields","fields":["humannamet^9","custnamet^9","custnamee^9","humannamenorm^9","headingnamet^4","headingnamee^4","fullbodye^7","fullbodyt^7","brandnamet^2","brandnamee^2","formernamet^2","formernamee^2"]}},{"constant_score":{"filter":{"exists":{"field":"telno"}}}},{"constant_score":{"filter":{"exists":{"field":"telno"}}}},{"constant_score":{"filter":{"exists":{"field":"faxno"}}}},{"constant_score":{"filter":{"exists":{"field":"email"}}}},{"constant_score":{"filter":{"exists":{"field":"website"}}}},{"constant_score":{"filter":{"exists":{"field":"promotiont"}}}},{"constant_score":{"filter":{"exists":{"field":"onlinepromotiont"}}}},{"constant_score":{"boost":50,"filter":{"exists":{"field":"location"}}}},{"constant_score":{"filter":{"exists":{"field":"faxno"}}}},{"constant_score":{"boost":50,"filter":{"exists":{"field":"picturet1"}}}},{"constant_score":{"filter":{"exists":{"field":"picturet2"}}}},{"constant_score":{"filter":{"exists":{"field":"picturet3"}}}},{"constant_score":{"filter":{"exists":{"field":"picturet4"}}}},{"constant_score":{"filter":{"exists":{"field":"picturetbil5"}}}},{"constant_score":{"filter":{"exists":{"field":"picturet6"}}}},{"constant_score":{"filter":{"exists":{"field":"picturet7"}}}},{"constant_score":{"filter":{"exists":{"field":"picturet8"}}}},{"constant_score":{"filter":{"exists":{"field":"picturet9"}}}},{"constant_score":{"boost":50,"filter":{"exists":{"field":"logo"}}}},{"constant_score":{"boost":100,"filter":{"exists":{"field":"olclink"}}}}]}}}},"filter":{"bool":{"must_not":[{"term":{"customertype":"DM"}},{"term":{"customertype":"RD"}},{"term":{"customertype":"DM"}},{"term":{"customertype":"RD"}},{"term":{"customertype":"PN"}}],"should":[{"prefix":{"headingcode":"0"}},{"prefix":{"headingcode":"1"}},{"prefix":{"headingcode":"2"}},{"prefix":{"headingcode":"3"}},{"prefix":{"headingcode":"4"}},{"prefix":{"headingcode":"5"}},{"prefix":{"headingcode":"6"}},{"prefix":{"headingcode":"7"}},{"prefix":{"headingcode":"8"}},{"prefix":{"headingcode":"9"}},{"prefix":{"headingcode":"Y"}}]}}}},"highlight":{"fields":[{"humannamet":{}},{"formernamet":{}},{"publicnamet":{}},{"soit":{}},{"roadt":{}},{"subdistrictnamet":{}},{"districtnamet":{}},{"citynamet":{}},{"headingnamet":{}},{"proddescstript":{"no_match_size":300,"fragment_size":300,"number_of_fragments":1,"highlight_query":{"match":{"proddescstript":{"fuzziness":0,"query":"\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e23\u0e31\u0e1a\u0e40\u0e08\u0e32\u0e30\u0e19\u0e49\u0e33\u0e1a\u0e32\u0e14\u0e32\u0e25"}}}}},{"fullbodyt":{"no_match_size":300,"fragment_size":300,"number_of_fragments":1,"highlight_query":{"match":{"fullbodyt":{"fuzziness":0,"query":"\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e23\u0e31\u0e1a\u0e40\u0e08\u0e32\u0e30\u0e19\u0e49\u0e33\u0e1a\u0e32\u0e14\u0e32\u0e25"}}}}},{"humannamee":{}},{"formernamee":{}},{"publicnamee":{}},{"brandnamet":{}},{"brandnamee":{}},{"soie":{}},{"roade":{}},{"subdistrictnamee":{}},{"districtnamee":{}},{"citynamee":{}},{"headingnamee":{}},{"proddescstripe":{"no_match_size":300,"fragment_size":300,"number_of_fragments":1}},{"fullbodye":{"no_match_size":300,"fragment_size":300,"number_of_fragments":1}}]},"from":"0","size":"10"}