16 000 руб./шт
Варианты цен
16 000 руб./шт
{"_source":false,"query":{"script_score":{"query":{"bool":{"should":[{"match":{"body":{"query":"\u043f\u0438\u0449\u0435\u0432\u043e\u0439+\u0438\u0437\u043c\u0435\u043b\u044c\u0447\u0438\u0442\u0435\u043b\u044c+\u0434\u043b\u044f+\u043e\u0440\u0435\u0445\u043e\u0432+\u0438+\u0441\u043f\u0435\u0446\u0438\u0439"}}},{"match":{"title":{"query":"\u043f\u0438\u0449\u0435\u0432\u043e\u0439+\u0438\u0437\u043c\u0435\u043b\u044c\u0447\u0438\u0442\u0435\u043b\u044c+\u0434\u043b\u044f+\u043e\u0440\u0435\u0445\u043e\u0432+\u0438+\u0441\u043f\u0435\u0446\u0438\u0439","boost":1.3}}},{"match":{"title_space":{"query":"\u043f\u0438\u0449\u0435\u0432\u043e\u0439+\u0438\u0437\u043c\u0435\u043b\u044c\u0447\u0438\u0442\u0435\u043b\u044c+\u0434\u043b\u044f+\u043e\u0440\u0435\u0445\u043e\u0432+\u0438+\u0441\u043f\u0435\u0446\u0438\u0439","boost":1}}},{"match":{"title_empty":{"query":"\u043f\u0438\u0449\u0435\u0432\u043e\u0439+\u0438\u0437\u043c\u0435\u043b\u044c\u0447\u0438\u0442\u0435\u043b\u044c+\u0434\u043b\u044f+\u043e\u0440\u0435\u0445\u043e\u0432+\u0438+\u0441\u043f\u0435\u0446\u0438\u0439","boost":1}}},{"constant_score":{"filter":{"bool":{"must":[{"match":{"title":"Foodatlas"}},{"term":{"QUANTITY":"Y"}},{"multi_match":{"query":"\u043f\u0438\u0449\u0435\u0432\u043e\u0439+\u0438\u0437\u043c\u0435\u043b\u044c\u0447\u0438\u0442\u0435\u043b\u044c+\u0434\u043b\u044f+\u043e\u0440\u0435\u0445\u043e\u0432+\u0438+\u0441\u043f\u0435\u0446\u0438\u0439","fields":["title^1.0"],"fuzziness":"AUTO"}}]}},"boost":1.2}},{"constant_score":{"filter":{"bool":{"must":[{"match":{"title":"Foodatlas"}},{"term":{"QUANTITY":"Y"}},{"multi_match":{"query":"\u043f\u0438\u0449\u0435\u0432\u043e\u0439+\u0438\u0437\u043c\u0435\u043b\u044c\u0447\u0438\u0442\u0435\u043b\u044c+\u0434\u043b\u044f+\u043e\u0440\u0435\u0445\u043e\u0432+\u0438+\u0441\u043f\u0435\u0446\u0438\u0439","fields":["title_smol^1.0"],"fuzziness":"AUTO"}}]}},"boost":1.7}},{"constant_score":{"filter":{"bool":{"must":[{"terms_set":{"title_keyword":{"terms":["\u043f\u0438\u0449\u0435\u0432\u043e\u0439","\u0438\u0437\u043c\u0435\u043b\u044c\u0447\u0438\u0442\u0435\u043b\u044c","\u0434\u043b\u044f","\u043e\u0440\u0435\u0445\u043e\u0432","\u0438","\u0441\u043f\u0435\u0446\u0438\u0439"],"minimum_should_match_script":{"source":"params.num_terms"}}}},{"term":{"title_len":6}}]}},"boost":170}}],"filter":{"bool":{"must":[{"terms":{"xright":["G2"]}}]}},"must":[{"bool":{"must":[{"bool":{"must":[{"bool":{"should":[{"term":{"date_from_ts":{"value":0}}},{"range":{"date_from_ts":{"from":null,"to":1791899355,"include_lower":true,"include_upper":true}}}]}},{"bool":{"should":[{"term":{"date_to_ts":{"value":0}}},{"range":{"date_to_ts":{"from":1791899355,"to":null,"include_lower":true,"include_upper":true}}}]}}]}},{"bool":{"should":[{"bool":{"must":[{"bool":{"should":{"term":{"module_id":{"value":"iblock"}}}}},{"bool":{"should":{"term":{"param1":{"value":"aspro_max_catalog"}}}}},{"bool":{"should":{"term":{"param2":{"value":17}}}}}]}},{"bool":{"must":[{"bool":{"should":{"term":{"module_id":{"value":"iblock"}}}}},{"bool":{"should":{"term":{"param1":{"value":"aspro_next_catalog"}}}}},{"bool":{"should":{"term":{"param2":{"value":20}}}}}]}}]}}]}}]}},"script":{"source":"\n\t\t\t\t\t\t\t\t\tdouble score = _score;\n\t\t\t\t\t\t\t\t\tif (!doc[\"QUANTITY\"].empty && doc[\"QUANTITY\"].value == \"N\") {\n score *= 0.4 ;\n\t \n } \n\tif (doc[\"SECTION_ID\"].size() > 0) {\n\t\tfor (def section : doc[\"SECTION_ID\"]) {\n\t\t\tif (section == \"2195\") {\n\t\t\t\tscore *= 0.6;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t} \n\n\treturn score;"}}},"from":0,"size":2000,"sort":{"custom_rank":{"order":"desc"},"_score":{"order":"desc"},"date_change":{"order":"desc"}},"fields":["id","module_id","param2"]}