| 1 |
16.46 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":"a37f3e4a8f5e19d03dfc78626b8312bf"}},{"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":0,"size":24,"collapse":{"field":"displayGroup"},"timeout":"5s"}}
{
"took": 3,
"timed_out": false,
"_shards": {
"total": 1,
"successful": 1,
"skipped": 0,
"failed": 0
},
"hits": {
"total": {
"value": 542,
"relation": "eq"
},
"max_score": null,
"hits": [
{
"_index": "staging-67_product_1776930924",
"_id": "f47445e406f6ea2c8c52c2ddf8eae7f8",
"_score": 1100.0,
"_source": {
"id": "f47445e406f6ea2c8c52c2ddf8eae7f8",
"autoIncrement": 68031.0
},
"fields": {
"displayGroup": [
"f51092b344dee8141a8327891d3352ec"
]
},
"sort": [
100,
1100.0,
0,
68031,
"f47445e406f6ea2c8c52c2ddf8eae7f8"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "f99ba6a44287ee06d7f13abdb5af3a14",
"_score": 1100.0,
"_source": {
"id": "f99ba6a44287ee06d7f13abdb5af3a14",
"autoIncrement": 68032.0
},
"fields": {
"displayGroup": [
"e618777fdadd13ae4cde4d7e9d77caf5"
]
},
"sort": [
99,
1100.0,
0,
68032,
"f99ba6a44287ee06d7f13abdb5af3a14"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "d2b7e062dcf92fd50b4d01d5023c3226",
"_score": 1100.0,
"_source": {
"id": "d2b7e062dcf92fd50b4d01d5023c3226",
"autoIncrement": 68033.0
},
"fields": {
"displayGroup": [
"100cbd49798680b1bd822e1e191e8f3d"
]
},
"sort": [
98,
1100.0,
0,
68033,
"d2b7e062dcf92fd50b4d01d5023c3226"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "a52be869050c2b0f6ff6b7db2a57da77",
"_score": 1100.0,
"_source": {
"id": "a52be869050c2b0f6ff6b7db2a57da77",
"autoIncrement": 134937.0
},
"fields": {
"displayGroup": [
"dabf4af86b40d77479260c565976b0f8"
]
},
"sort": [
96,
1100.0,
0,
134937,
"a52be869050c2b0f6ff6b7db2a57da77"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "e640056501aa22f778e49d5ff3e67cfe",
"_score": 1100.0,
"_source": {
"id": "e640056501aa22f778e49d5ff3e67cfe",
"autoIncrement": 135046.0
},
"fields": {
"displayGroup": [
"ba7c6db7fd62ec414219404b9f6b4578"
]
},
"sort": [
95,
1100.0,
0,
135046,
"e640056501aa22f778e49d5ff3e67cfe"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "bf7f4a6e3044a8f30fb6ff72de362fc7",
"_score": 1100.0,
"_source": {
"id": "bf7f4a6e3044a8f30fb6ff72de362fc7",
"autoIncrement": 134816.0
},
"fields": {
"displayGroup": [
"65d2186be49fa3cc80f46ff8135bab88"
]
},
"sort": [
95,
1100.0,
0,
134816,
"bf7f4a6e3044a8f30fb6ff72de362fc7"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "d26612c3fd53ba7366a945136c92eec8",
"_score": 1100.0,
"_source": {
"id": "d26612c3fd53ba7366a945136c92eec8",
"autoIncrement": 134815.0
},
"fields": {
"displayGroup": [
"c90e7d8c773b9d0c40f31a6362b6d7d8"
]
},
"sort": [
94,
1100.0,
0,
134815,
"d26612c3fd53ba7366a945136c92eec8"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "7a16607bc057d4f5aeb57c58fd634cad",
"_score": 1100.0,
"_source": {
"id": "7a16607bc057d4f5aeb57c58fd634cad",
"autoIncrement": 73780.0
},
"fields": {
"displayGroup": [
"7451fbfd05f5c4aef7566ec8f1407ffe"
]
},
"sort": [
94,
1100.0,
0,
73780,
"7a16607bc057d4f5aeb57c58fd634cad"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "333da6627651bcb37b032d5d462bca83",
"_score": 1100.0,
"_source": {
"id": "333da6627651bcb37b032d5d462bca83",
"autoIncrement": 73512.0
},
"fields": {
"displayGroup": [
"e3b4457dcc2a2837644987fea05e673e"
]
},
"sort": [
94,
1100.0,
0,
73512,
"333da6627651bcb37b032d5d462bca83"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "dec777b69c66dc3edfcd032978c9f938",
"_score": 1100.0,
"_source": {
"id": "dec777b69c66dc3edfcd032978c9f938",
"autoIncrement": 135119.0
},
"fields": {
"displayGroup": [
"37d33d35cef581e85e863edb335383ae"
]
},
"sort": [
93,
1100.0,
0,
135119,
"dec777b69c66dc3edfcd032978c9f938"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "c970faca07cd42cce77c8da389ea7ae3",
"_score": 1100.0,
"_source": {
"id": "c970faca07cd42cce77c8da389ea7ae3",
"autoIncrement": 134814.0
},
"fields": {
"displayGroup": [
"a664907515bb1f57b70128ca294d6c03"
]
},
"sort": [
93,
1100.0,
0,
134814,
"c970faca07cd42cce77c8da389ea7ae3"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "bab60583a0a4baeb4705b6a91c53bf45",
"_score": 1100.0,
"_source": {
"id": "bab60583a0a4baeb4705b6a91c53bf45",
"autoIncrement": 135114.0
},
"fields": {
"displayGroup": [
"df0701a27961a8f29bb7d28878f65ac3"
]
},
"sort": [
92,
1100.0,
0,
135114,
"bab60583a0a4baeb4705b6a91c53bf45"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "cb48576aa7f9d6fd4225060a225a5344",
"_score": 1100.0,
"_source": {
"id": "cb48576aa7f9d6fd4225060a225a5344",
"autoIncrement": 134813.0
},
"fields": {
"displayGroup": [
"163d006767588af4922516263cfe9681"
]
},
"sort": [
92,
1100.0,
0,
134813,
"cb48576aa7f9d6fd4225060a225a5344"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "4d40650c637b3fdce0329f3792e0ebad",
"_score": 1100.0,
"_source": {
"id": "4d40650c637b3fdce0329f3792e0ebad",
"autoIncrement": 73511.0
},
"fields": {
"displayGroup": [
"0dda7ee80d92410ce202e7c200b56bd6"
]
},
"sort": [
92,
1100.0,
0,
73511,
"4d40650c637b3fdce0329f3792e0ebad"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "c3eb1a24f1adb78a8dec8a8087a52a54",
"_score": 1100.0,
"_source": {
"id": "c3eb1a24f1adb78a8dec8a8087a52a54",
"autoIncrement": 135115.0
},
"fields": {
"displayGroup": [
"e642e7162ae242ddd45b3348c03aa05e"
]
},
"sort": [
91,
1100.0,
0,
135115,
"c3eb1a24f1adb78a8dec8a8087a52a54"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "7d92f4b5032224f84a7d85407eb5acad",
"_score": 1100.0,
"_source": {
"id": "7d92f4b5032224f84a7d85407eb5acad",
"autoIncrement": 134812.0
},
"fields": {
"displayGroup": [
"14d9785800dee86222bfe369417ae07d"
]
},
"sort": [
91,
1100.0,
0,
134812,
"7d92f4b5032224f84a7d85407eb5acad"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "6913ec9852befd16e4005f4cff09a95d",
"_score": 1100.0,
"_source": {
"id": "6913ec9852befd16e4005f4cff09a95d",
"autoIncrement": 135117.0
},
"fields": {
"displayGroup": [
"30907b34f6d8977cd01fbf3d101b5a45"
]
},
"sort": [
90,
1100.0,
0,
135117,
"6913ec9852befd16e4005f4cff09a95d"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "b5de10e69c955710bfdde22d58d848b8",
"_score": 1100.0,
"_source": {
"id": "b5de10e69c955710bfdde22d58d848b8",
"autoIncrement": 134934.0
},
"fields": {
"displayGroup": [
"395edcddd85d0dcbf5bfeb1c92595c1d"
]
},
"sort": [
90,
1100.0,
0,
134934,
"b5de10e69c955710bfdde22d58d848b8"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "2e4303e826bab1c88ccf7682f2d588ea",
"_score": 1100.0,
"_source": {
"id": "2e4303e826bab1c88ccf7682f2d588ea",
"autoIncrement": 134811.0
},
"fields": {
"displayGroup": [
"130ea2d3f866090822f0e34919117b96"
]
},
"sort": [
90,
1100.0,
0,
134811,
"2e4303e826bab1c88ccf7682f2d588ea"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "fdf3d34b392c1ee7da423d5ab6df5190",
"_score": 1100.0,
"_source": {
"id": "fdf3d34b392c1ee7da423d5ab6df5190",
"autoIncrement": 135112.0
},
"fields": {
"displayGroup": [
"6ae79388fb443dd9d2639ff0be779fc3"
]
},
"sort": [
89,
1100.0,
0,
135112,
"fdf3d34b392c1ee7da423d5ab6df5190"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "34335d83988ea902a51d94113650dd8c",
"_score": 1100.0,
"_source": {
"id": "34335d83988ea902a51d94113650dd8c",
"autoIncrement": 134810.0
},
"fields": {
"displayGroup": [
"2b27e03a81065cf6408aabb3fb8db7c5"
]
},
"sort": [
89,
1100.0,
0,
134810,
"34335d83988ea902a51d94113650dd8c"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "7b09951a077d3b568a9b9a89f48566b9",
"_score": 1100.0,
"_source": {
"id": "7b09951a077d3b568a9b9a89f48566b9",
"autoIncrement": 135113.0
},
"fields": {
"displayGroup": [
"fb6783e96e49809e3ec4dcd2e3a99f3c"
]
},
"sort": [
88,
1100.0,
0,
135113,
"7b09951a077d3b568a9b9a89f48566b9"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "5fb82b57128cf113a3940a6cecc9c9ec",
"_score": 1100.0,
"_source": {
"id": "5fb82b57128cf113a3940a6cecc9c9ec",
"autoIncrement": 134809.0
},
"fields": {
"displayGroup": [
"075135ce2ccde3466cdfdaa0782bc54a"
]
},
"sort": [
88,
1100.0,
0,
134809,
"5fb82b57128cf113a3940a6cecc9c9ec"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "f5f051e8f654c3cff51bd6f770526567",
"_score": 1100.0,
"_source": {
"id": "f5f051e8f654c3cff51bd6f770526567",
"autoIncrement": 73506.0
},
"fields": {
"displayGroup": [
"2cd98538bd0a7265385e0b6621719e93"
]
},
"sort": [
88,
1100.0,
0,
73506,
"f5f051e8f654c3cff51bd6f770526567"
]
}
]
},
"aggregations": {
"total-count": {
"value": 542
}
}
}
Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher:search
|
| 2 |
6.22 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":"a37f3e4a8f5e19d03dfc78626b8312bf"}},{"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_rule5b270e597f114fbba683590b4a9cb579_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_rule5b270e597f114fbba683590b4a9cb579_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"}}}},"width":{"stats":{"field":"width"}},"width-stats":{"filter":{"range":{"width":{"gt":0.0}}},"aggregations":{"width-stats":{"stats":{"field":"width"}}}},"height":{"stats":{"field":"height"}},"height-stats":{"filter":{"range":{"height":{"gt":0.0}}},"aggregations":{"height-stats":{"stats":{"field":"height"}}}},"tiefe":{"stats":{"field":"attribute_tiefe"}},"multi-typModel":{"composite":{"sources":[{"multi-typModel.sorting":{"terms":{"field":"attribute_typModel","order":"ASC"}}},{"multi-typModel.key":{"terms":{"field":"attribute_typModel"}}}],"size":"99999"}},"multi-material":{"composite":{"sources":[{"multi-material.sorting":{"terms":{"field":"attribute_material","order":"ASC"}}},{"multi-material.key":{"terms":{"field":"attribute_material"}}}],"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": "a37f3e4a8f5e19d03dfc78626b8312bf"
}
},
{
"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_rule5b270e597f114fbba683590b4a9cb579_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_rule5b270e597f114fbba683590b4a9cb579_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"
}
}
}
},
"width": {
"stats": {
"field": "width"
}
},
"width-stats": {
"filter": {
"range": {
"width": {
"gt": 0.0
}
}
},
"aggregations": {
"width-stats": {
"stats": {
"field": "width"
}
}
}
},
"height": {
"stats": {
"field": "height"
}
},
"height-stats": {
"filter": {
"range": {
"height": {
"gt": 0.0
}
}
},
"aggregations": {
"height-stats": {
"stats": {
"field": "height"
}
}
}
},
"tiefe": {
"stats": {
"field": "attribute_tiefe"
}
},
"multi-typModel": {
"composite": {
"sources": [
{
"multi-typModel.sorting": {
"terms": {
"field": "attribute_typModel",
"order": "ASC"
}
}
},
{
"multi-typModel.key": {
"terms": {
"field": "attribute_typModel"
}
}
}
],
"size": "99999"
}
},
"multi-material": {
"composite": {
"sources": [
{
"multi-material.sorting": {
"terms": {
"field": "attribute_material",
"order": "ASC"
}
}
},
{
"multi-material.key": {
"terms": {
"field": "attribute_material"
}
}
}
],
"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": 542,
"min": 2.0,
"max": 122.0,
"avg": 13.272011070110702,
"sum": 7193.43
},
"rating-exists": {
"doc_count": 542,
"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": "c3a426735eefdce4df6537fb4b7ae301",
"manufacturer-count-filter.key": "c3a426735eefdce4df6537fb4b7ae301"
},
"buckets": [
{
"key": {
"manufacturer-count-filter.sorting": "1a883793b8738cf7ab301f8d7c8d5b91",
"manufacturer-count-filter.key": "1a883793b8738cf7ab301f8d7c8d5b91"
},
"doc_count": 2
},
{
"key": {
"manufacturer-count-filter.sorting": "339b2f19a3f2821963c7d2b0ca441bd2",
"manufacturer-count-filter.key": "339b2f19a3f2821963c7d2b0ca441bd2"
},
"doc_count": 8
},
{
"key": {
"manufacturer-count-filter.sorting": "c3a426735eefdce4df6537fb4b7ae301",
"manufacturer-count-filter.key": "c3a426735eefdce4df6537fb4b7ae301"
},
"doc_count": 506
}
]
},
"bool-reduced": {
"doc_count": 2,
"bool-reduced": {
"value": 2
}
},
"width": {
"count": 384,
"min": 20.0,
"max": 660.0,
"avg": 263.640625,
"sum": 101238.0
},
"width-stats": {
"doc_count": 384,
"width-stats": {
"count": 384,
"min": 20.0,
"max": 660.0,
"avg": 263.640625,
"sum": 101238.0
}
},
"height": {
"count": 264,
"min": 20.0,
"max": 1000.0,
"avg": 211.62121212121212,
"sum": 55868.0
},
"height-stats": {
"doc_count": 264,
"height-stats": {
"count": 264,
"min": 20.0,
"max": 1000.0,
"avg": 211.62121212121212,
"sum": 55868.0
}
},
"tiefe": {
"count": 1,
"min": 430.0,
"max": 430.0,
"avg": 430.0,
"sum": 430.0
},
"multi-typModel": {
"after_key": {
"multi-typModel.sorting": "Zubeh\u00f6r Hinweisschilder",
"multi-typModel.key": "Zubeh\u00f6r Hinweisschilder"
},
"buckets": [
{
"key": {
"multi-typModel.sorting": "Bodenmarkieraufkleber",
"multi-typModel.key": "Bodenmarkieraufkleber"
},
"doc_count": 8
},
{
"key": {
"multi-typModel.sorting": "Brandschutzkennzeichen",
"multi-typModel.key": "Brandschutzkennzeichen"
},
"doc_count": 33
},
{
"key": {
"multi-typModel.sorting": "Gebotsschilder",
"multi-typModel.key": "Gebotsschilder"
},
"doc_count": 62
},
{
"key": {
"multi-typModel.sorting": "Parkplatzkennzeichnung",
"multi-typModel.key": "Parkplatzkennzeichnung"
},
"doc_count": 31
},
{
"key": {
"multi-typModel.sorting": "Piktogramme \/ Beschrift.",
"multi-typModel.key": "Piktogramme \/ Beschrift."
},
"doc_count": 40
},
{
"key": {
"multi-typModel.sorting": "Pr\u00fcf- und Inventarplaketten",
"multi-typModel.key": "Pr\u00fcf- und Inventarplaketten"
},
"doc_count": 13
},
{
"key": {
"multi-typModel.sorting": "Pr\u00fcfplaketten",
"multi-typModel.key": "Pr\u00fcfplaketten"
},
"doc_count": 24
},
{
"key": {
"multi-typModel.sorting": "Rettungswegkennzeichen",
"multi-typModel.key": "Rettungswegkennzeichen"
},
"doc_count": 105
},
{
"key": {
"multi-typModel.sorting": "Sicherheitsbeschilderung",
"multi-typModel.key": "Sicherheitsbeschilderung"
},
"doc_count": 30
},
{
"key": {
"multi-typModel.sorting": "Verbotskennzeichnung",
"multi-typModel.key": "Verbotskennzeichnung"
},
"doc_count": 64
},
{
"key": {
"multi-typModel.sorting": "Warnkennzeichnung",
"multi-typModel.key": "Warnkennzeichnung"
},
"doc_count": 125
},
{
"key": {
"multi-typModel.sorting": "Zubeh\u00f6r Abfallsammler f\u00fcr innen",
"multi-typModel.key": "Zubeh\u00f6r Abfallsammler f\u00fcr innen"
},
"doc_count": 2
},
{
"key": {
"multi-typModel.sorting": "Zubeh\u00f6r Hinweisschilder",
"multi-typModel.key": "Zubeh\u00f6r Hinweisschilder"
},
"doc_count": 5
}
]
},
"multi-material": {
"after_key": {
"multi-material.sorting": "Polyethylen",
"multi-material.key": "Polyethylen"
},
"buckets": [
{
"key": {
"multi-material.sorting": "Alu langnachleuchtend",
"multi-material.key": "Alu langnachleuchtend"
},
"doc_count": 1
},
{
"key": {
"multi-material.sorting": "Aluminium",
"multi-material.key": "Aluminium"
},
"doc_count": 125
},
{
"key": {
"multi-material.sorting": "Aluminium langnachleuchtend",
"multi-material.key": "Aluminium langnachleuchtend"
},
"doc_count": 18
},
{
"key": {
"multi-material.sorting": "Folie",
"multi-material.key": "Folie"
},
"doc_count": 197
},
{
"key": {
"multi-material.sorting": "Folie langnachleuchtend",
"multi-material.key": "Folie langnachleuchtend"
},
"doc_count": 34
},
{
"key": {
"multi-material.sorting": "Kunststoff",
"multi-material.key": "Kunststoff"
},
"doc_count": 87
},
{
"key": {
"multi-material.sorting": "Kunststoff langnachleuchtend",
"multi-material.key": "Kunststoff langnachleuchtend"
},
"doc_count": 38
},
{
"key": {
"multi-material.sorting": "Magnetfolie",
"multi-material.key": "Magnetfolie"
},
"doc_count": 6
},
{
"key": {
"multi-material.sorting": "PVC",
"multi-material.key": "PVC"
},
"doc_count": 12
},
{
"key": {
"multi-material.sorting": "Polyethylen",
"multi-material.key": "Polyethylen"
},
"doc_count": 6
}
]
},
"manufacturer-count": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0,
"buckets": [
{
"key": "c3a426735eefdce4df6537fb4b7ae301",
"doc_count": 506
},
{
"key": "339b2f19a3f2821963c7d2b0ca441bd2",
"doc_count": 8
},
{
"key": "1a883793b8738cf7ab301f8d7c8d5b91",
"doc_count": 2
}
]
}
}
}
Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntityAggregator:aggregate
|