| 1 |
19.70 ms |
Request:
{"index":"staging-67_product","search_type":"query_then_fetch","track_total_hits":true,"body":{"query":{"bool":{"filter":[{"bool":{"must":[{"bool":{"must":[{"term":{"active":true}},{"range":{"visibility_132e445c03814d67ac47c04afb6d5d99":{"gte":30}}}]}},{"term":{"categoryTree":"77cf8ad642ec5d7cba7017f4968d668f"}},{"exists":{"field":"displayGroup"}}]}}],"should":[{"constant_score":{"filter":{"bool":{"should":[{"nested":{"path":"streams","query":{"terms":{"streams.id":["018f0ea07ad57e59841906b9dac1ae23"]}}}}]}},"boost":350.0}},{"constant_score":{"filter":{"bool":{"should":[{"nested":{"path":"streams","query":{"terms":{"streams.id":["018f0ea3242c77a3ad7aaa686586f79c"]}}}}]}},"boost":150.0}},{"constant_score":{"filter":{"bool":{"should":[{"nested":{"path":"streams","query":{"terms":{"streams.id":["018fe3229d5677949c032d1a4983f006"]}}}}]}},"boost":350.0}},{"constant_score":{"filter":{"bool":{"should":[{"nested":{"path":"streams","query":{"terms":{"streams.id":["f4e67c126b4e4b4f8b4f4b8295613b5b"]}}}}]}},"boost":1000.0}},{"constant_score":{"filter":{"bool":{"should":[{"nested":{"path":"streams","query":{"terms":{"streams.id":["15706c7290284128acdcdc0aa07bda52"]}}}}]}},"boost":400.0}},{"constant_score":{"filter":{"bool":{"should":[{"nested":{"path":"streams","query":{"terms":{"streams.id":["a33aa3f47e2147c9be62a08216f92c1c"]}}}}]}},"boost":300.0}},{"constant_score":{"filter":{"bool":{"should":[{"nested":{"path":"streams","query":{"terms":{"streams.id":["e3d0223b8cfd4edb8b5581ae7e9ab5cf"]}}}}]}},"boost":300.0}},{"constant_score":{"filter":{"bool":{"should":[{"nested":{"path":"streams","query":{"terms":{"streams.id":["62000891305f4ae4837e16e336cf2868"]}}}}]}},"boost":200.0}},{"constant_score":{"filter":{"bool":{"should":[{"nested":{"path":"streams","query":{"terms":{"streams.id":["9222eeebbd984a1fbba6521d6c03bc43"]}}}}]}},"boost":250.0}},{"constant_score":{"filter":{"bool":{"should":[{"nested":{"path":"streams","query":{"terms":{"streams.id":["cb292e1aaf854891a0d4e2fca32dd02f"]}}}}]}},"boost":100.0}}]}},"sort":[{"customFields.2fbb5fe2e29a4d70aa5854ce7ce3e20b.acris_search_sorting_relevance":{"unmapped_type":"integer","missing":0,"order":"DESC"}},{"_score":{"order":"DESC"}},{"markAsTopseller":{"order":"DESC"}},{"autoIncrement":{"order":"DESC"}},{"id":{"order":"ASC"}}],"aggregations":{"total-count":{"cardinality":{"field":"displayGroup"}}},"from":72,"size":24,"collapse":{"field":"displayGroup"},"timeout":"5s"}}
{
"took": 5,
"timed_out": false,
"_shards": {
"total": 1,
"successful": 1,
"skipped": 0,
"failed": 0
},
"hits": {
"total": {
"value": 698,
"relation": "eq"
},
"max_score": null,
"hits": [
{
"_index": "staging-67_product_1776930924",
"_id": "644227371eb2feb71664016b02cbec75",
"_score": 1100.0,
"_source": {
"id": "644227371eb2feb71664016b02cbec75",
"autoIncrement": 128586.0
},
"fields": {
"displayGroup": [
"a7a4b3c0d3a0059e0e2af19cdfba45a1"
]
},
"sort": [
0,
1100.0,
0,
128586,
"644227371eb2feb71664016b02cbec75"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "b624c64d016864dd686f28049c2526a7",
"_score": 1100.0,
"_source": {
"id": "b624c64d016864dd686f28049c2526a7",
"autoIncrement": 128584.0
},
"fields": {
"displayGroup": [
"60dac50019e85b8a6a47d82104a58d52"
]
},
"sort": [
0,
1100.0,
0,
128584,
"b624c64d016864dd686f28049c2526a7"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "2b289e4adb1ebc7f862c8504d11eb797",
"_score": 1100.0,
"_source": {
"id": "2b289e4adb1ebc7f862c8504d11eb797",
"autoIncrement": 128582.0
},
"fields": {
"displayGroup": [
"386812f18ffcc7d35b415a7b01b90f46"
]
},
"sort": [
0,
1100.0,
0,
128582,
"2b289e4adb1ebc7f862c8504d11eb797"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "5145080d3ad489f4daa9b11b0c67d8ff",
"_score": 1100.0,
"_source": {
"id": "5145080d3ad489f4daa9b11b0c67d8ff",
"autoIncrement": 128580.0
},
"fields": {
"displayGroup": [
"cbf5ef43b8080fe821507cdc083912ef"
]
},
"sort": [
0,
1100.0,
0,
128580,
"5145080d3ad489f4daa9b11b0c67d8ff"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "fe3ddf42f5fa209761f97223694ead95",
"_score": 1100.0,
"_source": {
"id": "fe3ddf42f5fa209761f97223694ead95",
"autoIncrement": 128578.0
},
"fields": {
"displayGroup": [
"ba57702095375d22413ecf88f8786e1d"
]
},
"sort": [
0,
1100.0,
0,
128578,
"fe3ddf42f5fa209761f97223694ead95"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "a90b7a67c2b5a5eeaa3cc8af59d5dd6c",
"_score": 1100.0,
"_source": {
"id": "a90b7a67c2b5a5eeaa3cc8af59d5dd6c",
"autoIncrement": 128576.0
},
"fields": {
"displayGroup": [
"7f48c85e9461a9348ae357b73f9adba2"
]
},
"sort": [
0,
1100.0,
0,
128576,
"a90b7a67c2b5a5eeaa3cc8af59d5dd6c"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "490e78f10105f6100442589a360fe261",
"_score": 1100.0,
"_source": {
"id": "490e78f10105f6100442589a360fe261",
"autoIncrement": 128574.0
},
"fields": {
"displayGroup": [
"15d7da140b4cb2045f8caa48b0813c2b"
]
},
"sort": [
0,
1100.0,
0,
128574,
"490e78f10105f6100442589a360fe261"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "8fff915c1e151f8c6cadf09691198fe5",
"_score": 1100.0,
"_source": {
"id": "8fff915c1e151f8c6cadf09691198fe5",
"autoIncrement": 128572.0
},
"fields": {
"displayGroup": [
"561cb7d2dcd6f52bd47cf0d4bbff2ae1"
]
},
"sort": [
0,
1100.0,
0,
128572,
"8fff915c1e151f8c6cadf09691198fe5"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "8742fb5037bd9fe86a918f9b74835957",
"_score": 1100.0,
"_source": {
"id": "8742fb5037bd9fe86a918f9b74835957",
"autoIncrement": 128569.0
},
"fields": {
"displayGroup": [
"83c5ef222ea6645e4fcd4941679ed9e5"
]
},
"sort": [
0,
1100.0,
0,
128569,
"8742fb5037bd9fe86a918f9b74835957"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "af5abbcf72e56404a4d71b8971e1e969",
"_score": 1100.0,
"_source": {
"id": "af5abbcf72e56404a4d71b8971e1e969",
"autoIncrement": 128567.0
},
"fields": {
"displayGroup": [
"8f269d958cbde7e59c9dbd08ea4aec9c"
]
},
"sort": [
0,
1100.0,
0,
128567,
"af5abbcf72e56404a4d71b8971e1e969"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "90993588fd3929a6ca9a34df9cc1f569",
"_score": 1100.0,
"_source": {
"id": "90993588fd3929a6ca9a34df9cc1f569",
"autoIncrement": 128565.0
},
"fields": {
"displayGroup": [
"08f0a1b7bfc1d12fb25dd3e0ceb3a8eb"
]
},
"sort": [
0,
1100.0,
0,
128565,
"90993588fd3929a6ca9a34df9cc1f569"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "bb8761f321f9cf1d5b741a3fe278d5e7",
"_score": 1100.0,
"_source": {
"id": "bb8761f321f9cf1d5b741a3fe278d5e7",
"autoIncrement": 128563.0
},
"fields": {
"displayGroup": [
"60b9ed79cc187a5c507d172534bb27f0"
]
},
"sort": [
0,
1100.0,
0,
128563,
"bb8761f321f9cf1d5b741a3fe278d5e7"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "8a73a7e23f66b5b8f8ca819ba079f9f9",
"_score": 1100.0,
"_source": {
"id": "8a73a7e23f66b5b8f8ca819ba079f9f9",
"autoIncrement": 128561.0
},
"fields": {
"displayGroup": [
"5b3d69dbeee26f10572f4a0a9652a91b"
]
},
"sort": [
0,
1100.0,
0,
128561,
"8a73a7e23f66b5b8f8ca819ba079f9f9"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "33905630067f7ac2fdf448b182bc8d93",
"_score": 1100.0,
"_source": {
"id": "33905630067f7ac2fdf448b182bc8d93",
"autoIncrement": 128559.0
},
"fields": {
"displayGroup": [
"fd1dd3bcc8c457648be43ff6fa7dc5b8"
]
},
"sort": [
0,
1100.0,
0,
128559,
"33905630067f7ac2fdf448b182bc8d93"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "8d861de059210b60fe86efcb9ab5f205",
"_score": 1100.0,
"_source": {
"id": "8d861de059210b60fe86efcb9ab5f205",
"autoIncrement": 128557.0
},
"fields": {
"displayGroup": [
"315fe2ad357cdd3681ebe3b39ee2e5ab"
]
},
"sort": [
0,
1100.0,
0,
128557,
"8d861de059210b60fe86efcb9ab5f205"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "7f47e28ba85c90fa0b5f4bebfd3ef8c0",
"_score": 1100.0,
"_source": {
"id": "7f47e28ba85c90fa0b5f4bebfd3ef8c0",
"autoIncrement": 128555.0
},
"fields": {
"displayGroup": [
"dea109a0ff82ae3a9bb390e9125144ce"
]
},
"sort": [
0,
1100.0,
0,
128555,
"7f47e28ba85c90fa0b5f4bebfd3ef8c0"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "778629c488e4342e5c776e3417555e1b",
"_score": 1100.0,
"_source": {
"id": "778629c488e4342e5c776e3417555e1b",
"autoIncrement": 128553.0
},
"fields": {
"displayGroup": [
"1712c095dc00199b94cb702f3b778d90"
]
},
"sort": [
0,
1100.0,
0,
128553,
"778629c488e4342e5c776e3417555e1b"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "cc329643b7c172e0c8299ecd139ac354",
"_score": 1100.0,
"_source": {
"id": "cc329643b7c172e0c8299ecd139ac354",
"autoIncrement": 128551.0
},
"fields": {
"displayGroup": [
"89445b3e6117703c5bcbde511f5039d1"
]
},
"sort": [
0,
1100.0,
0,
128551,
"cc329643b7c172e0c8299ecd139ac354"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "4b2f5bc4771ab5d16b32c3abefe1ccdd",
"_score": 1100.0,
"_source": {
"id": "4b2f5bc4771ab5d16b32c3abefe1ccdd",
"autoIncrement": 128549.0
},
"fields": {
"displayGroup": [
"bb1aa855564ee8535220baaba4a91b9e"
]
},
"sort": [
0,
1100.0,
0,
128549,
"4b2f5bc4771ab5d16b32c3abefe1ccdd"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "f53d02c08c66650e18298dca5511a91a",
"_score": 1100.0,
"_source": {
"id": "f53d02c08c66650e18298dca5511a91a",
"autoIncrement": 128547.0
},
"fields": {
"displayGroup": [
"3495494a01517c54468d5585ad0da9d3"
]
},
"sort": [
0,
1100.0,
0,
128547,
"f53d02c08c66650e18298dca5511a91a"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "3f67159d3ecada47e407ce01ec9a8aca",
"_score": 1100.0,
"_source": {
"id": "3f67159d3ecada47e407ce01ec9a8aca",
"autoIncrement": 128544.0
},
"fields": {
"displayGroup": [
"44f1547982d2770d442da2e44586d5e2"
]
},
"sort": [
0,
1100.0,
0,
128544,
"3f67159d3ecada47e407ce01ec9a8aca"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "72596e3071b39eccac2ed1b4e69a55a3",
"_score": 1100.0,
"_source": {
"id": "72596e3071b39eccac2ed1b4e69a55a3",
"autoIncrement": 128540.0
},
"fields": {
"displayGroup": [
"7b4b6291e0498030ca7e81323857d2ab"
]
},
"sort": [
0,
1100.0,
0,
128540,
"72596e3071b39eccac2ed1b4e69a55a3"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "6ac95766c02ebc94fbd31e4650e0b795",
"_score": 1100.0,
"_source": {
"id": "6ac95766c02ebc94fbd31e4650e0b795",
"autoIncrement": 128538.0
},
"fields": {
"displayGroup": [
"c685a21c665167a793f0da0d61f6220e"
]
},
"sort": [
0,
1100.0,
0,
128538,
"6ac95766c02ebc94fbd31e4650e0b795"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "eae216a73d2ae8a387a1a1618d31056e",
"_score": 1100.0,
"_source": {
"id": "eae216a73d2ae8a387a1a1618d31056e",
"autoIncrement": 128536.0
},
"fields": {
"displayGroup": [
"e5ea9f2c34a00adfe82fe5b6c3729607"
]
},
"sort": [
0,
1100.0,
0,
128536,
"eae216a73d2ae8a387a1a1618d31056e"
]
}
]
},
"aggregations": {
"total-count": {
"value": 698
}
}
}
Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher:search
|
| 2 |
6.19 ms |
Request:
{"index":"staging-67_product","track_total_hits":false,"body":{"query":{"bool":{"filter":[{"bool":{"must":[{"bool":{"must":[{"term":{"active":true}},{"range":{"visibility_132e445c03814d67ac47c04afb6d5d99":{"gte":30}}}]}},{"term":{"categoryTree":"77cf8ad642ec5d7cba7017f4968d668f"}},{"exists":{"field":"displayGroup"}}]}}]}},"aggregations":{"price":{"stats":{"script":{"source":"double getPrice(def accessors, def doc, def decimals, def round, def multiplier) {\n for (accessor in accessors) {\n def key = accessor['key'];\n\n if (!doc.containsKey(key) || doc[key].empty) {\n continue;\n }\n\n def factor = accessor['factor'];\n def value = doc[key].value * factor;\n\n value = Math.round(value * decimals);\n value = (double) value \/ decimals;\n\n if (!round) {\n return (double) value;\n }\n\n value = Math.round(value * multiplier);\n\n value = (double) value \/ multiplier;\n\n return (double) value;\n }\n\n return 0;\n}\n\nreturn getPrice(params['accessors'], doc, params['decimals'], params['round'], params['multiplier']);\n","lang":"painless","params":{"accessors":[{"key":"cheapest_price_rule07f438d06a8a4951a3023a5e7810f884_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net","factor":1},{"key":"cheapest_price_rule2772e1f3cc52436593ed4c7b229426fe_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net","factor":1},{"key":"cheapest_price_rulec019dd2f47394d68874602781a1eb06a_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net","factor":1},{"key":"cheapest_price_rulef43239e32e16483181a57e49cae1db77_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net","factor":1},{"key":"cheapest_price_rule643070c6755c43f3ad58eba50f4d0b17_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net","factor":1},{"key":"cheapest_price_rulea755c64836d24743b295845250c45862_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net","factor":1},{"key":"cheapest_price_ruledefault_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net","factor":1}],"decimals":100,"round":true,"multiplier":100.0}}}},"rating-exists":{"filter":{"range":{"ratingAverage":{"gte":0.0}}},"aggregations":{"rating":{"max":{"field":"ratingAverage"}}}},"shipping-free-filter":{"filter":{"term":{"shippingFree":true}},"aggregations":{"shipping-free":{"max":{"field":"shippingFree"}}}},"properties":{"nested":{"path":"properties"},"aggregations":{"properties":{"terms":{"field":"properties.id","size":10000}}}},"options":{"nested":{"path":"options"},"aggregations":{"options":{"terms":{"field":"options.id","size":10000}}}},"manufacturer-count-filter":{"composite":{"sources":[{"manufacturer-count-filter.sorting":{"terms":{"field":"manufacturerId","order":"ASC"}}},{"manufacturer-count-filter.key":{"terms":{"field":"manufacturerId"}}}],"size":"99999"}},"bool-reduced":{"filter":{"script":{"script":{"source":"String getPercentageKey(def accessors, def doc) {\n for (accessor in accessors) {\n def key = accessor['key'];\n if (!doc.containsKey(key) || doc[key].empty) {\n continue;\n }\n\n return key;\n }\n\n return '';\n}\n\ndef percentageKey = getPercentageKey(params['accessors'], doc);\n\nif (percentageKey == '') {\n if (params.containsKey('eq') && params['eq'] === null) {\n return true;\n }\n\n return false;\n}\n\ndef percentage = (double) doc[percentageKey].value;\n\ndef match = true;\nif (params.containsKey('eq')) {\n match = match && percentage == params['eq'];\n}\nif (params.containsKey('gte')) {\n match = match && percentage >= params['gte'];\n}\nif (params.containsKey('gt')) {\n match = match && percentage > params['gt'];\n}\nif (params.containsKey('lte')) {\n match = match && percentage <= params['lte'];\n}\nif (params.containsKey('lt')) {\n match = match && percentage < params['lt'];\n}\n\nreturn match;\n","params":{"gt":1.0,"accessors":[{"key":"cheapest_price_rule07f438d06a8a4951a3023a5e7810f884_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net_percentage","factor":1},{"key":"cheapest_price_rule2772e1f3cc52436593ed4c7b229426fe_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net_percentage","factor":1},{"key":"cheapest_price_rulec019dd2f47394d68874602781a1eb06a_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net_percentage","factor":1},{"key":"cheapest_price_rulef43239e32e16483181a57e49cae1db77_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net_percentage","factor":1},{"key":"cheapest_price_rule643070c6755c43f3ad58eba50f4d0b17_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net_percentage","factor":1},{"key":"cheapest_price_rulea755c64836d24743b295845250c45862_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net_percentage","factor":1},{"key":"cheapest_price_ruledefault_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net_percentage","factor":1}]}}}},"aggregations":{"bool-reduced":{"value_count":{"field":"id"}}}},"multi-typModel":{"composite":{"sources":[{"multi-typModel.sorting":{"terms":{"field":"attribute_typModel","order":"ASC"}}},{"multi-typModel.key":{"terms":{"field":"attribute_typModel"}}}],"size":"99999"}},"multi-width":{"composite":{"sources":[{"multi-width.sorting":{"terms":{"field":"width","order":"ASC"}}},{"multi-width.key":{"terms":{"field":"width"}}}],"size":"99999"}},"multi-height":{"composite":{"sources":[{"multi-height.sorting":{"terms":{"field":"height","order":"ASC"}}},{"multi-height.key":{"terms":{"field":"height"}}}],"size":"99999"}},"multi-tiefe":{"composite":{"sources":[{"multi-tiefe.sorting":{"terms":{"field":"attribute_tiefe","order":"ASC"}}},{"multi-tiefe.key":{"terms":{"field":"attribute_tiefe"}}}],"size":"99999"}},"multi-traglastGesamt":{"composite":{"sources":[{"multi-traglastGesamt.sorting":{"terms":{"field":"attribute_traglastGesamt","order":"ASC"}}},{"multi-traglastGesamt.key":{"terms":{"field":"attribute_traglastGesamt"}}}],"size":"99999"}},"multi-regalsystem":{"composite":{"sources":[{"multi-regalsystem.sorting":{"terms":{"field":"attribute_regalsystem","order":"ASC"}}},{"multi-regalsystem.key":{"terms":{"field":"attribute_regalsystem"}}}],"size":"99999"}},"multi-anzahlFachboeden":{"composite":{"sources":[{"multi-anzahlFachboeden.sorting":{"terms":{"field":"attribute_anzahlFachboeden","order":"ASC"}}},{"multi-anzahlFachboeden.key":{"terms":{"field":"attribute_anzahlFachboeden"}}}],"size":"99999"}},"manufacturer-count":{"terms":{"field":"manufacturerId","size":10000}}},"size":0,"timeout":"5s"},"search_type":"query_then_fetch"}
POST http://localhost:9200/staging-67_product/_search?track_total_hits=0&search_type=query_then_fetch
Accept: application/json
Content-Type: application/json
{
"query": {
"bool": {
"filter": [
{
"bool": {
"must": [
{
"bool": {
"must": [
{
"term": {
"active": true
}
},
{
"range": {
"visibility_132e445c03814d67ac47c04afb6d5d99": {
"gte": 30
}
}
}
]
}
},
{
"term": {
"categoryTree": "77cf8ad642ec5d7cba7017f4968d668f"
}
},
{
"exists": {
"field": "displayGroup"
}
}
]
}
}
]
}
},
"aggregations": {
"price": {
"stats": {
"script": {
"source": "double getPrice(def accessors, def doc, def decimals, def round, def multiplier) {\n for (accessor in accessors) {\n def key = accessor['key'];\n\n if (!doc.containsKey(key) || doc[key].empty) {\n continue;\n }\n\n def factor = accessor['factor'];\n def value = doc[key].value * factor;\n\n value = Math.round(value * decimals);\n value = (double) value \/ decimals;\n\n if (!round) {\n return (double) value;\n }\n\n value = Math.round(value * multiplier);\n\n value = (double) value \/ multiplier;\n\n return (double) value;\n }\n\n return 0;\n}\n\nreturn getPrice(params['accessors'], doc, params['decimals'], params['round'], params['multiplier']);\n",
"lang": "painless",
"params": {
"accessors": [
{
"key": "cheapest_price_rule07f438d06a8a4951a3023a5e7810f884_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net",
"factor": 1
},
{
"key": "cheapest_price_rule2772e1f3cc52436593ed4c7b229426fe_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net",
"factor": 1
},
{
"key": "cheapest_price_rulec019dd2f47394d68874602781a1eb06a_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net",
"factor": 1
},
{
"key": "cheapest_price_rulef43239e32e16483181a57e49cae1db77_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net",
"factor": 1
},
{
"key": "cheapest_price_rule643070c6755c43f3ad58eba50f4d0b17_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net",
"factor": 1
},
{
"key": "cheapest_price_rulea755c64836d24743b295845250c45862_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net",
"factor": 1
},
{
"key": "cheapest_price_ruledefault_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net",
"factor": 1
}
],
"decimals": 100,
"round": true,
"multiplier": 100.0
}
}
}
},
"rating-exists": {
"filter": {
"range": {
"ratingAverage": {
"gte": 0.0
}
}
},
"aggregations": {
"rating": {
"max": {
"field": "ratingAverage"
}
}
}
},
"shipping-free-filter": {
"filter": {
"term": {
"shippingFree": true
}
},
"aggregations": {
"shipping-free": {
"max": {
"field": "shippingFree"
}
}
}
},
"properties": {
"nested": {
"path": "properties"
},
"aggregations": {
"properties": {
"terms": {
"field": "properties.id",
"size": 10000
}
}
}
},
"options": {
"nested": {
"path": "options"
},
"aggregations": {
"options": {
"terms": {
"field": "options.id",
"size": 10000
}
}
}
},
"manufacturer-count-filter": {
"composite": {
"sources": [
{
"manufacturer-count-filter.sorting": {
"terms": {
"field": "manufacturerId",
"order": "ASC"
}
}
},
{
"manufacturer-count-filter.key": {
"terms": {
"field": "manufacturerId"
}
}
}
],
"size": "99999"
}
},
"bool-reduced": {
"filter": {
"script": {
"script": {
"source": "String getPercentageKey(def accessors, def doc) {\n for (accessor in accessors) {\n def key = accessor['key'];\n if (!doc.containsKey(key) || doc[key].empty) {\n continue;\n }\n\n return key;\n }\n\n return '';\n}\n\ndef percentageKey = getPercentageKey(params['accessors'], doc);\n\nif (percentageKey == '') {\n if (params.containsKey('eq') && params['eq'] === null) {\n return true;\n }\n\n return false;\n}\n\ndef percentage = (double) doc[percentageKey].value;\n\ndef match = true;\nif (params.containsKey('eq')) {\n match = match && percentage == params['eq'];\n}\nif (params.containsKey('gte')) {\n match = match && percentage >= params['gte'];\n}\nif (params.containsKey('gt')) {\n match = match && percentage > params['gt'];\n}\nif (params.containsKey('lte')) {\n match = match && percentage <= params['lte'];\n}\nif (params.containsKey('lt')) {\n match = match && percentage < params['lt'];\n}\n\nreturn match;\n",
"params": {
"gt": 1.0,
"accessors": [
{
"key": "cheapest_price_rule07f438d06a8a4951a3023a5e7810f884_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net_percentage",
"factor": 1
},
{
"key": "cheapest_price_rule2772e1f3cc52436593ed4c7b229426fe_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net_percentage",
"factor": 1
},
{
"key": "cheapest_price_rulec019dd2f47394d68874602781a1eb06a_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net_percentage",
"factor": 1
},
{
"key": "cheapest_price_rulef43239e32e16483181a57e49cae1db77_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net_percentage",
"factor": 1
},
{
"key": "cheapest_price_rule643070c6755c43f3ad58eba50f4d0b17_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net_percentage",
"factor": 1
},
{
"key": "cheapest_price_rulea755c64836d24743b295845250c45862_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net_percentage",
"factor": 1
},
{
"key": "cheapest_price_ruledefault_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net_percentage",
"factor": 1
}
]
}
}
}
},
"aggregations": {
"bool-reduced": {
"value_count": {
"field": "id"
}
}
}
},
"multi-typModel": {
"composite": {
"sources": [
{
"multi-typModel.sorting": {
"terms": {
"field": "attribute_typModel",
"order": "ASC"
}
}
},
{
"multi-typModel.key": {
"terms": {
"field": "attribute_typModel"
}
}
}
],
"size": "99999"
}
},
"multi-width": {
"composite": {
"sources": [
{
"multi-width.sorting": {
"terms": {
"field": "width",
"order": "ASC"
}
}
},
{
"multi-width.key": {
"terms": {
"field": "width"
}
}
}
],
"size": "99999"
}
},
"multi-height": {
"composite": {
"sources": [
{
"multi-height.sorting": {
"terms": {
"field": "height",
"order": "ASC"
}
}
},
{
"multi-height.key": {
"terms": {
"field": "height"
}
}
}
],
"size": "99999"
}
},
"multi-tiefe": {
"composite": {
"sources": [
{
"multi-tiefe.sorting": {
"terms": {
"field": "attribute_tiefe",
"order": "ASC"
}
}
},
{
"multi-tiefe.key": {
"terms": {
"field": "attribute_tiefe"
}
}
}
],
"size": "99999"
}
},
"multi-traglastGesamt": {
"composite": {
"sources": [
{
"multi-traglastGesamt.sorting": {
"terms": {
"field": "attribute_traglastGesamt",
"order": "ASC"
}
}
},
{
"multi-traglastGesamt.key": {
"terms": {
"field": "attribute_traglastGesamt"
}
}
}
],
"size": "99999"
}
},
"multi-regalsystem": {
"composite": {
"sources": [
{
"multi-regalsystem.sorting": {
"terms": {
"field": "attribute_regalsystem",
"order": "ASC"
}
}
},
{
"multi-regalsystem.key": {
"terms": {
"field": "attribute_regalsystem"
}
}
}
],
"size": "99999"
}
},
"multi-anzahlFachboeden": {
"composite": {
"sources": [
{
"multi-anzahlFachboeden.sorting": {
"terms": {
"field": "attribute_anzahlFachboeden",
"order": "ASC"
}
}
},
{
"multi-anzahlFachboeden.key": {
"terms": {
"field": "attribute_anzahlFachboeden"
}
}
}
],
"size": "99999"
}
},
"manufacturer-count": {
"terms": {
"field": "manufacturerId",
"size": 10000
}
}
},
"size": 0,
"timeout": "5s"
}
{
"took": 0,
"timed_out": false,
"_shards": {
"total": 1,
"successful": 1,
"skipped": 0,
"failed": 0
},
"hits": {
"max_score": null,
"hits": []
},
"aggregations": {
"price": {
"count": 698,
"min": 0.36,
"max": 1860.0,
"avg": 163.38687679083094,
"sum": 114044.04
},
"rating-exists": {
"doc_count": 698,
"rating": {
"value": 0.0
}
},
"shipping-free-filter": {
"doc_count": 0,
"shipping-free": {
"value": null
}
},
"properties": {
"doc_count": 0,
"properties": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0,
"buckets": []
}
},
"options": {
"doc_count": 0,
"options": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0,
"buckets": []
}
},
"manufacturer-count-filter": {
"after_key": {
"manufacturer-count-filter.sorting": "80a4c612e0000b55478bc9962efd4845",
"manufacturer-count-filter.key": "80a4c612e0000b55478bc9962efd4845"
},
"buckets": [
{
"key": {
"manufacturer-count-filter.sorting": "80a4c612e0000b55478bc9962efd4845",
"manufacturer-count-filter.key": "80a4c612e0000b55478bc9962efd4845"
},
"doc_count": 698
}
]
},
"bool-reduced": {
"doc_count": 12,
"bool-reduced": {
"value": 12
}
},
"multi-typModel": {
"after_key": {
"multi-typModel.sorting": "Zubeh\u00f6r Langgutregale",
"multi-typModel.key": "Zubeh\u00f6r Langgutregale"
},
"buckets": [
{
"key": {
"multi-typModel.sorting": "Fachbodenregale",
"multi-typModel.key": "Fachbodenregale"
},
"doc_count": 451
},
{
"key": {
"multi-typModel.sorting": "Getr\u00e4nkekistenregale",
"multi-typModel.key": "Getr\u00e4nkekistenregale"
},
"doc_count": 1
},
{
"key": {
"multi-typModel.sorting": "Zubeh\u00f6r Fachbodenregale",
"multi-typModel.key": "Zubeh\u00f6r Fachbodenregale"
},
"doc_count": 237
},
{
"key": {
"multi-typModel.sorting": "Zubeh\u00f6r Langgutregale",
"multi-typModel.key": "Zubeh\u00f6r Langgutregale"
},
"doc_count": 9
}
]
},
"multi-width": {
"after_key": {
"multi-width.sorting": 1695.0,
"multi-width.key": 1695.0
},
"buckets": [
{
"key": {
"multi-width.sorting": 600.0,
"multi-width.key": 600.0
},
"doc_count": 4
},
{
"key": {
"multi-width.sorting": 771.0,
"multi-width.key": 771.0
},
"doc_count": 2
},
{
"key": {
"multi-width.sorting": 870.0,
"multi-width.key": 870.0
},
"doc_count": 26
},
{
"key": {
"multi-width.sorting": 875.0,
"multi-width.key": 875.0
},
"doc_count": 138
},
{
"key": {
"multi-width.sorting": 900.0,
"multi-width.key": 900.0
},
"doc_count": 4
},
{
"key": {
"multi-width.sorting": 906.0,
"multi-width.key": 906.0
},
"doc_count": 2
},
{
"key": {
"multi-width.sorting": 980.0,
"multi-width.key": 980.0
},
"doc_count": 3
},
{
"key": {
"multi-width.sorting": 986.0,
"multi-width.key": 986.0
},
"doc_count": 1
},
{
"key": {
"multi-width.sorting": 1000.0,
"multi-width.key": 1000.0
},
"doc_count": 32
},
{
"key": {
"multi-width.sorting": 1005.0,
"multi-width.key": 1005.0
},
"doc_count": 153
},
{
"key": {
"multi-width.sorting": 1186.0,
"multi-width.key": 1186.0
},
"doc_count": 2
},
{
"key": {
"multi-width.sorting": 1280.0,
"multi-width.key": 1280.0
},
"doc_count": 25
},
{
"key": {
"multi-width.sorting": 1285.0,
"multi-width.key": 1285.0
},
"doc_count": 155
},
{
"key": {
"multi-width.sorting": 1586.0,
"multi-width.key": 1586.0
},
"doc_count": 2
},
{
"key": {
"multi-width.sorting": 1690.0,
"multi-width.key": 1690.0
},
"doc_count": 3
},
{
"key": {
"multi-width.sorting": 1695.0,
"multi-width.key": 1695.0
},
"doc_count": 29
}
]
},
"multi-height": {
"after_key": {
"multi-height.sorting": 3000.0,
"multi-height.key": 3000.0
},
"buckets": [
{
"key": {
"multi-height.sorting": 100.0,
"multi-height.key": 100.0
},
"doc_count": 1
},
{
"key": {
"multi-height.sorting": 110.0,
"multi-height.key": 110.0
},
"doc_count": 4
},
{
"key": {
"multi-height.sorting": 120.0,
"multi-height.key": 120.0
},
"doc_count": 2
},
{
"key": {
"multi-height.sorting": 150.0,
"multi-height.key": 150.0
},
"doc_count": 1
},
{
"key": {
"multi-height.sorting": 200.0,
"multi-height.key": 200.0
},
"doc_count": 13
},
{
"key": {
"multi-height.sorting": 210.0,
"multi-height.key": 210.0
},
"doc_count": 5
},
{
"key": {
"multi-height.sorting": 240.0,
"multi-height.key": 240.0
},
"doc_count": 1
},
{
"key": {
"multi-height.sorting": 310.0,
"multi-height.key": 310.0
},
"doc_count": 4
},
{
"key": {
"multi-height.sorting": 320.0,
"multi-height.key": 320.0
},
"doc_count": 2
},
{
"key": {
"multi-height.sorting": 400.0,
"multi-height.key": 400.0
},
"doc_count": 1
},
{
"key": {
"multi-height.sorting": 410.0,
"multi-height.key": 410.0
},
"doc_count": 4
},
{
"key": {
"multi-height.sorting": 460.0,
"multi-height.key": 460.0
},
"doc_count": 4
},
{
"key": {
"multi-height.sorting": 819.0,
"multi-height.key": 819.0
},
"doc_count": 1
},
{
"key": {
"multi-height.sorting": 1019.0,
"multi-height.key": 1019.0
},
"doc_count": 1
},
{
"key": {
"multi-height.sorting": 1319.0,
"multi-height.key": 1319.0
},
"doc_count": 1
},
{
"key": {
"multi-height.sorting": 1800.0,
"multi-height.key": 1800.0
},
"doc_count": 2
},
{
"key": {
"multi-height.sorting": 1980.0,
"multi-height.key": 1980.0
},
"doc_count": 9
},
{
"key": {
"multi-height.sorting": 2000.0,
"multi-height.key": 2000.0
},
"doc_count": 163
},
{
"key": {
"multi-height.sorting": 2480.0,
"multi-height.key": 2480.0
},
"doc_count": 9
},
{
"key": {
"multi-height.sorting": 2500.0,
"multi-height.key": 2500.0
},
"doc_count": 151
},
{
"key": {
"multi-height.sorting": 3000.0,
"multi-height.key": 3000.0
},
"doc_count": 151
}
]
},
"multi-tiefe": {
"after_key": {
"multi-tiefe.sorting": 800.0,
"multi-tiefe.key": 800.0
},
"buckets": [
{
"key": {
"multi-tiefe.sorting": 130.0,
"multi-tiefe.key": 130.0
},
"doc_count": 1
},
{
"key": {
"multi-tiefe.sorting": 201.0,
"multi-tiefe.key": 201.0
},
"doc_count": 2
},
{
"key": {
"multi-tiefe.sorting": 300.0,
"multi-tiefe.key": 300.0
},
"doc_count": 153
},
{
"key": {
"multi-tiefe.sorting": 301.0,
"multi-tiefe.key": 301.0
},
"doc_count": 2
},
{
"key": {
"multi-tiefe.sorting": 400.0,
"multi-tiefe.key": 400.0
},
"doc_count": 151
},
{
"key": {
"multi-tiefe.sorting": 401.0,
"multi-tiefe.key": 401.0
},
"doc_count": 2
},
{
"key": {
"multi-tiefe.sorting": 500.0,
"multi-tiefe.key": 500.0
},
"doc_count": 147
},
{
"key": {
"multi-tiefe.sorting": 501.0,
"multi-tiefe.key": 501.0
},
"doc_count": 2
},
{
"key": {
"multi-tiefe.sorting": 510.0,
"multi-tiefe.key": 510.0
},
"doc_count": 1
},
{
"key": {
"multi-tiefe.sorting": 530.0,
"multi-tiefe.key": 530.0
},
"doc_count": 1
},
{
"key": {
"multi-tiefe.sorting": 600.0,
"multi-tiefe.key": 600.0
},
"doc_count": 153
},
{
"key": {
"multi-tiefe.sorting": 701.0,
"multi-tiefe.key": 701.0
},
"doc_count": 2
},
{
"key": {
"multi-tiefe.sorting": 800.0,
"multi-tiefe.key": 800.0
},
"doc_count": 12
}
]
},
"multi-traglastGesamt": {
"buckets": []
},
"multi-regalsystem": {
"after_key": {
"multi-regalsystem.sorting": "Stecksystem",
"multi-regalsystem.key": "Stecksystem"
},
"buckets": [
{
"key": {
"multi-regalsystem.sorting": "Stecksystem",
"multi-regalsystem.key": "Stecksystem"
},
"doc_count": 452
}
]
},
"multi-anzahlFachboeden": {
"after_key": {
"multi-anzahlFachboeden.sorting": "8 St\u00fcck",
"multi-anzahlFachboeden.key": "8 St\u00fcck"
},
"buckets": [
{
"key": {
"multi-anzahlFachboeden.sorting": "10 St\u00fcck",
"multi-anzahlFachboeden.key": "10 St\u00fcck"
},
"doc_count": 1
},
{
"key": {
"multi-anzahlFachboeden.sorting": "4 St\u00fcck",
"multi-anzahlFachboeden.key": "4 St\u00fcck"
},
"doc_count": 10
},
{
"key": {
"multi-anzahlFachboeden.sorting": "5 St\u00fcck",
"multi-anzahlFachboeden.key": "5 St\u00fcck"
},
"doc_count": 145
},
{
"key": {
"multi-anzahlFachboeden.sorting": "6 St\u00fcck",
"multi-anzahlFachboeden.key": "6 St\u00fcck"
},
"doc_count": 143
},
{
"key": {
"multi-anzahlFachboeden.sorting": "7 St\u00fcck",
"multi-anzahlFachboeden.key": "7 St\u00fcck"
},
"doc_count": 144
},
{
"key": {
"multi-anzahlFachboeden.sorting": "8 St\u00fcck",
"multi-anzahlFachboeden.key": "8 St\u00fcck"
},
"doc_count": 1
}
]
},
"manufacturer-count": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0,
"buckets": [
{
"key": "80a4c612e0000b55478bc9962efd4845",
"doc_count": 698
}
]
}
}
}
Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntityAggregator:aggregate
|