| 1 |
17.35 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":"ab292a19eab14c106d2c9e81e71f86d5"}},{"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":48,"size":24,"collapse":{"field":"displayGroup"},"timeout":"5s"}}
{
"took": 5,
"timed_out": false,
"_shards": {
"total": 1,
"successful": 1,
"skipped": 0,
"failed": 0
},
"hits": {
"total": {
"value": 137,
"relation": "eq"
},
"max_score": null,
"hits": [
{
"_index": "staging-67_product_1776930924",
"_id": "4ed45e9710db794ff3c1538ac9eaff43",
"_score": 1100.0,
"_source": {
"id": "4ed45e9710db794ff3c1538ac9eaff43",
"autoIncrement": 33501.0
},
"fields": {
"displayGroup": [
"8c2a795cd065986ae7036181540fd198"
]
},
"sort": [
0,
1100.0,
0,
33501,
"4ed45e9710db794ff3c1538ac9eaff43"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "09f67a056abca9f117317a137a6a441d",
"_score": 1100.0,
"_source": {
"id": "09f67a056abca9f117317a137a6a441d",
"autoIncrement": 33500.0
},
"fields": {
"displayGroup": [
"a41e967fc2e0941df837fc72675555ec"
]
},
"sort": [
0,
1100.0,
0,
33500,
"09f67a056abca9f117317a137a6a441d"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "55631eb9a334866768d6e1bd532e1b7e",
"_score": 1100.0,
"_source": {
"id": "55631eb9a334866768d6e1bd532e1b7e",
"autoIncrement": 33498.0
},
"fields": {
"displayGroup": [
"30c5b914172caa2695916b8c267a0540"
]
},
"sort": [
0,
1100.0,
0,
33498,
"55631eb9a334866768d6e1bd532e1b7e"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "55488ae088a83369e050e7ef90275e11",
"_score": 1100.0,
"_source": {
"id": "55488ae088a83369e050e7ef90275e11",
"autoIncrement": 33497.0
},
"fields": {
"displayGroup": [
"1aa6963867c7407d33cf55a302366dd3"
]
},
"sort": [
0,
1100.0,
0,
33497,
"55488ae088a83369e050e7ef90275e11"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "7be173e11eaf8cf5023ca033cc3aee74",
"_score": 1100.0,
"_source": {
"id": "7be173e11eaf8cf5023ca033cc3aee74",
"autoIncrement": 33496.0
},
"fields": {
"displayGroup": [
"67c35f260268d55d8094ca30c8dad1e9"
]
},
"sort": [
0,
1100.0,
0,
33496,
"7be173e11eaf8cf5023ca033cc3aee74"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "537e67167d1e87a36b114ac98e0b247b",
"_score": 1100.0,
"_source": {
"id": "537e67167d1e87a36b114ac98e0b247b",
"autoIncrement": 33495.0
},
"fields": {
"displayGroup": [
"ad6bc988a68fc6e09342a710319f31d7"
]
},
"sort": [
0,
1100.0,
0,
33495,
"537e67167d1e87a36b114ac98e0b247b"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "2ee487cd59ee0d35e20b03d8edc82a7e",
"_score": 1100.0,
"_source": {
"id": "2ee487cd59ee0d35e20b03d8edc82a7e",
"autoIncrement": 33494.0
},
"fields": {
"displayGroup": [
"07e21b6abb6397966d4437b73766ffdf"
]
},
"sort": [
0,
1100.0,
0,
33494,
"2ee487cd59ee0d35e20b03d8edc82a7e"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "3d8ead75f2f94cee9d0c0c07a30430c0",
"_score": 1100.0,
"_source": {
"id": "3d8ead75f2f94cee9d0c0c07a30430c0",
"autoIncrement": 33493.0
},
"fields": {
"displayGroup": [
"55498cb05fd7b6acb50cf0091a96256a"
]
},
"sort": [
0,
1100.0,
0,
33493,
"3d8ead75f2f94cee9d0c0c07a30430c0"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "f2f13516d93dd8fc847fb8c72d7f1cd2",
"_score": 1100.0,
"_source": {
"id": "f2f13516d93dd8fc847fb8c72d7f1cd2",
"autoIncrement": 33492.0
},
"fields": {
"displayGroup": [
"de85a52f486ffebbb04c0fed5669cfd1"
]
},
"sort": [
0,
1100.0,
0,
33492,
"f2f13516d93dd8fc847fb8c72d7f1cd2"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "6a60879e7c17ced96bd3357fbe307294",
"_score": 1100.0,
"_source": {
"id": "6a60879e7c17ced96bd3357fbe307294",
"autoIncrement": 33240.0
},
"fields": {
"displayGroup": [
"e31be2dc2c8b0de0e1bd3fe4077b07bc"
]
},
"sort": [
0,
1100.0,
0,
33240,
"6a60879e7c17ced96bd3357fbe307294"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "8cad644154f9e55c081b56b92248232c",
"_score": 1100.0,
"_source": {
"id": "8cad644154f9e55c081b56b92248232c",
"autoIncrement": 33239.0
},
"fields": {
"displayGroup": [
"3a73b0785235fc772209fa5ff7ac2bf3"
]
},
"sort": [
0,
1100.0,
0,
33239,
"8cad644154f9e55c081b56b92248232c"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "aaa26b9ed89b6e460a34b7812b1b00fe",
"_score": 1100.0,
"_source": {
"id": "aaa26b9ed89b6e460a34b7812b1b00fe",
"autoIncrement": 33238.0
},
"fields": {
"displayGroup": [
"91642efe842d3e53da7d97d49d97194f"
]
},
"sort": [
0,
1100.0,
0,
33238,
"aaa26b9ed89b6e460a34b7812b1b00fe"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "a9a993280d7bf75a6fd4e47c371eb6e3",
"_score": 1100.0,
"_source": {
"id": "a9a993280d7bf75a6fd4e47c371eb6e3",
"autoIncrement": 33237.0
},
"fields": {
"displayGroup": [
"b6ccd88c2cc60a04cfb06f955dc8582d"
]
},
"sort": [
0,
1100.0,
0,
33237,
"a9a993280d7bf75a6fd4e47c371eb6e3"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "56894c39005136b4c1c283b5c8144058",
"_score": 1100.0,
"_source": {
"id": "56894c39005136b4c1c283b5c8144058",
"autoIncrement": 33236.0
},
"fields": {
"displayGroup": [
"2039d58a85fe9f31aec4849428e4503c"
]
},
"sort": [
0,
1100.0,
0,
33236,
"56894c39005136b4c1c283b5c8144058"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "b62ca000bde7f6dc2a981681f2236f74",
"_score": 1100.0,
"_source": {
"id": "b62ca000bde7f6dc2a981681f2236f74",
"autoIncrement": 33235.0
},
"fields": {
"displayGroup": [
"7f2961952fdb8db29e54e9a4f3d3e804"
]
},
"sort": [
0,
1100.0,
0,
33235,
"b62ca000bde7f6dc2a981681f2236f74"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "d3ce3bf413c24ccd94dff116f878ea96",
"_score": 1100.0,
"_source": {
"id": "d3ce3bf413c24ccd94dff116f878ea96",
"autoIncrement": 33232.0
},
"fields": {
"displayGroup": [
"487a90f554d3b310e129e86752c40e82"
]
},
"sort": [
0,
1100.0,
0,
33232,
"d3ce3bf413c24ccd94dff116f878ea96"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "040da40931427599d66cbbff965e5c5d",
"_score": 1100.0,
"_source": {
"id": "040da40931427599d66cbbff965e5c5d",
"autoIncrement": 33231.0
},
"fields": {
"displayGroup": [
"b34a5221e61d4c764aad66d21f03dd0c"
]
},
"sort": [
0,
1100.0,
0,
33231,
"040da40931427599d66cbbff965e5c5d"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "7c206f33b8d9c66955e29ebbec3239ab",
"_score": 1100.0,
"_source": {
"id": "7c206f33b8d9c66955e29ebbec3239ab",
"autoIncrement": 33230.0
},
"fields": {
"displayGroup": [
"6e66c9163235a31f1fb2ec8ce38cc1b7"
]
},
"sort": [
0,
1100.0,
0,
33230,
"7c206f33b8d9c66955e29ebbec3239ab"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "2d9ce4e416abda2c6b7dbb60632efc15",
"_score": 1100.0,
"_source": {
"id": "2d9ce4e416abda2c6b7dbb60632efc15",
"autoIncrement": 33229.0
},
"fields": {
"displayGroup": [
"8b4211c814b673c9a476f0697a379705"
]
},
"sort": [
0,
1100.0,
0,
33229,
"2d9ce4e416abda2c6b7dbb60632efc15"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "9c4c113c666f7666600a528a21a2f547",
"_score": 1100.0,
"_source": {
"id": "9c4c113c666f7666600a528a21a2f547",
"autoIncrement": 33228.0
},
"fields": {
"displayGroup": [
"5945c4090f1fa752af3e22ca619a6fb2"
]
},
"sort": [
0,
1100.0,
0,
33228,
"9c4c113c666f7666600a528a21a2f547"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "74cb5dac4dd5d8bc7561f29d70c3463c",
"_score": 1100.0,
"_source": {
"id": "74cb5dac4dd5d8bc7561f29d70c3463c",
"autoIncrement": 33227.0
},
"fields": {
"displayGroup": [
"342b5f025223d2f992cefb39de90a727"
]
},
"sort": [
0,
1100.0,
0,
33227,
"74cb5dac4dd5d8bc7561f29d70c3463c"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "79552a8ba33d68b3d4755f7a2aaa01b7",
"_score": 1100.0,
"_source": {
"id": "79552a8ba33d68b3d4755f7a2aaa01b7",
"autoIncrement": 33226.0
},
"fields": {
"displayGroup": [
"acb9b36879bf94666331d23445fe4ba3"
]
},
"sort": [
0,
1100.0,
0,
33226,
"79552a8ba33d68b3d4755f7a2aaa01b7"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "e4dc1a68504071c6992580ffe73bf66a",
"_score": 1100.0,
"_source": {
"id": "e4dc1a68504071c6992580ffe73bf66a",
"autoIncrement": 33225.0
},
"fields": {
"displayGroup": [
"2fdc531a45b59a509493426b6703555a"
]
},
"sort": [
0,
1100.0,
0,
33225,
"e4dc1a68504071c6992580ffe73bf66a"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "72e0cb90de44d25abe83f9f2146f570a",
"_score": 1100.0,
"_source": {
"id": "72e0cb90de44d25abe83f9f2146f570a",
"autoIncrement": 33224.0
},
"fields": {
"displayGroup": [
"fb5aa3f6a668e40838340542a07645fc"
]
},
"sort": [
0,
1100.0,
0,
33224,
"72e0cb90de44d25abe83f9f2146f570a"
]
}
]
},
"aggregations": {
"total-count": {
"value": 137
}
}
}
Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher:search
|
| 2 |
5.20 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":"ab292a19eab14c106d2c9e81e71f86d5"}},{"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"}}}},"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-farbeKorpus":{"composite":{"sources":[{"multi-farbeKorpus.sorting":{"terms":{"field":"attribute_farbeKorpus","order":"ASC"}}},{"multi-farbeKorpus.key":{"terms":{"field":"attribute_farbeKorpus"}}}],"size":"99999"}},"range-anzahlSchubladen":{"stats":{"field":"attribute_anzahlSchubladen"}},"multi-typModel":{"composite":{"sources":[{"multi-typModel.sorting":{"terms":{"field":"attribute_typModel","order":"ASC"}}},{"multi-typModel.key":{"terms":{"field":"attribute_typModel"}}}],"size":"99999"}},"multi-farbeFront":{"composite":{"sources":[{"multi-farbeFront.sorting":{"terms":{"field":"attribute_farbeFront","order":"ASC"}}},{"multi-farbeFront.key":{"terms":{"field":"attribute_farbeFront"}}}],"size":"99999"}},"multi-schlossausfuehrung":{"composite":{"sources":[{"multi-schlossausfuehrung.sorting":{"terms":{"field":"attribute_schlossausfuehrung","order":"ASC"}}},{"multi-schlossausfuehrung.key":{"terms":{"field":"attribute_schlossausfuehrung"}}}],"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": "ab292a19eab14c106d2c9e81e71f86d5"
}
},
{
"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"
}
}
}
},
"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-farbeKorpus": {
"composite": {
"sources": [
{
"multi-farbeKorpus.sorting": {
"terms": {
"field": "attribute_farbeKorpus",
"order": "ASC"
}
}
},
{
"multi-farbeKorpus.key": {
"terms": {
"field": "attribute_farbeKorpus"
}
}
}
],
"size": "99999"
}
},
"range-anzahlSchubladen": {
"stats": {
"field": "attribute_anzahlSchubladen"
}
},
"multi-typModel": {
"composite": {
"sources": [
{
"multi-typModel.sorting": {
"terms": {
"field": "attribute_typModel",
"order": "ASC"
}
}
},
{
"multi-typModel.key": {
"terms": {
"field": "attribute_typModel"
}
}
}
],
"size": "99999"
}
},
"multi-farbeFront": {
"composite": {
"sources": [
{
"multi-farbeFront.sorting": {
"terms": {
"field": "attribute_farbeFront",
"order": "ASC"
}
}
},
{
"multi-farbeFront.key": {
"terms": {
"field": "attribute_farbeFront"
}
}
}
],
"size": "99999"
}
},
"multi-schlossausfuehrung": {
"composite": {
"sources": [
{
"multi-schlossausfuehrung.sorting": {
"terms": {
"field": "attribute_schlossausfuehrung",
"order": "ASC"
}
}
},
{
"multi-schlossausfuehrung.key": {
"terms": {
"field": "attribute_schlossausfuehrung"
}
}
}
],
"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": 137,
"min": 207.0,
"max": 2372.0,
"avg": 946.4671532846716,
"sum": 129666.0
},
"rating-exists": {
"doc_count": 137,
"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": "e92077b923fe7f60b3b5ea31cceb8c2a",
"manufacturer-count-filter.key": "e92077b923fe7f60b3b5ea31cceb8c2a"
},
"buckets": [
{
"key": {
"manufacturer-count-filter.sorting": "5267ee69add37a0408db89f9cd30c57f",
"manufacturer-count-filter.key": "5267ee69add37a0408db89f9cd30c57f"
},
"doc_count": 87
},
{
"key": {
"manufacturer-count-filter.sorting": "e92077b923fe7f60b3b5ea31cceb8c2a",
"manufacturer-count-filter.key": "e92077b923fe7f60b3b5ea31cceb8c2a"
},
"doc_count": 50
}
]
},
"bool-reduced": {
"doc_count": 0,
"bool-reduced": {
"value": 0
}
},
"width": {
"count": 137,
"min": 680.0,
"max": 1130.0,
"avg": 860.7299270072992,
"sum": 117920.0
},
"width-stats": {
"doc_count": 137,
"width-stats": {
"count": 137,
"min": 680.0,
"max": 1130.0,
"avg": 860.7299270072992,
"sum": 117920.0
}
},
"height": {
"count": 137,
"min": 820.0,
"max": 2150.0,
"avg": 1853.7956204379561,
"sum": 253970.0
},
"height-stats": {
"doc_count": 137,
"height-stats": {
"count": 137,
"min": 820.0,
"max": 2150.0,
"avg": 1853.7956204379561,
"sum": 253970.0
}
},
"tiefe": {
"count": 137,
"min": 280.0,
"max": 590.0,
"avg": 385.54744525547443,
"sum": 52820.0
},
"multi-farbeKorpus": {
"after_key": {
"multi-farbeKorpus.sorting": "RAL 7035 Lichtgrau",
"multi-farbeKorpus.key": "RAL 7035 Lichtgrau"
},
"buckets": [
{
"key": {
"multi-farbeKorpus.sorting": "RAL 5007 Brillantblau",
"multi-farbeKorpus.key": "RAL 5007 Brillantblau"
},
"doc_count": 25
},
{
"key": {
"multi-farbeKorpus.sorting": "RAL 6011 Resedagr\u00fcn",
"multi-farbeKorpus.key": "RAL 6011 Resedagr\u00fcn"
},
"doc_count": 31
},
{
"key": {
"multi-farbeKorpus.sorting": "RAL 7035 Lichtgrau",
"multi-farbeKorpus.key": "RAL 7035 Lichtgrau"
},
"doc_count": 81
}
]
},
"range-anzahlSchubladen": {
"count": 14,
"min": 1.0,
"max": 4.0,
"avg": 2.5714285714285716,
"sum": 36.0
},
"multi-typModel": {
"after_key": {
"multi-typModel.sorting": "Schr\u00e4nke mit K\u00e4sten",
"multi-typModel.key": "Schr\u00e4nke mit K\u00e4sten"
},
"buckets": [
{
"key": {
"multi-typModel.sorting": "Materialschr\u00e4nke",
"multi-typModel.key": "Materialschr\u00e4nke"
},
"doc_count": 30
},
{
"key": {
"multi-typModel.sorting": "Schr\u00e4nke mit K\u00e4sten",
"multi-typModel.key": "Schr\u00e4nke mit K\u00e4sten"
},
"doc_count": 107
}
]
},
"multi-farbeFront": {
"after_key": {
"multi-farbeFront.sorting": "RAL\u00a07035 Lichtgrau",
"multi-farbeFront.key": "RAL\u00a07035 Lichtgrau"
},
"buckets": [
{
"key": {
"multi-farbeFront.sorting": "RAL 5007 Brillantblau",
"multi-farbeFront.key": "RAL 5007 Brillantblau"
},
"doc_count": 25
},
{
"key": {
"multi-farbeFront.sorting": "RAL 6011 Resedagr\u00fcn",
"multi-farbeFront.key": "RAL 6011 Resedagr\u00fcn"
},
"doc_count": 31
},
{
"key": {
"multi-farbeFront.sorting": "RAL\u00a07035 Lichtgrau",
"multi-farbeFront.key": "RAL\u00a07035 Lichtgrau"
},
"doc_count": 81
}
]
},
"multi-schlossausfuehrung": {
"after_key": {
"multi-schlossausfuehrung.sorting": "Zylinderschloss",
"multi-schlossausfuehrung.key": "Zylinderschloss"
},
"buckets": [
{
"key": {
"multi-schlossausfuehrung.sorting": "Zylinderschloss",
"multi-schlossausfuehrung.key": "Zylinderschloss"
},
"doc_count": 95
}
]
},
"multi-anzahlFachboeden": {
"after_key": {
"multi-anzahlFachboeden.sorting": "9 St\u00fcck",
"multi-anzahlFachboeden.key": "9 St\u00fcck"
},
"buckets": [
{
"key": {
"multi-anzahlFachboeden.sorting": "1 St\u00fcck",
"multi-anzahlFachboeden.key": "1 St\u00fcck"
},
"doc_count": 2
},
{
"key": {
"multi-anzahlFachboeden.sorting": "11 St\u00fcck",
"multi-anzahlFachboeden.key": "11 St\u00fcck"
},
"doc_count": 11
},
{
"key": {
"multi-anzahlFachboeden.sorting": "12 St\u00fcck",
"multi-anzahlFachboeden.key": "12 St\u00fcck"
},
"doc_count": 6
},
{
"key": {
"multi-anzahlFachboeden.sorting": "14 St\u00fcck",
"multi-anzahlFachboeden.key": "14 St\u00fcck"
},
"doc_count": 7
},
{
"key": {
"multi-anzahlFachboeden.sorting": "15 St\u00fcck",
"multi-anzahlFachboeden.key": "15 St\u00fcck"
},
"doc_count": 8
},
{
"key": {
"multi-anzahlFachboeden.sorting": "18 St\u00fcck",
"multi-anzahlFachboeden.key": "18 St\u00fcck"
},
"doc_count": 8
},
{
"key": {
"multi-anzahlFachboeden.sorting": "4 St\u00fcck",
"multi-anzahlFachboeden.key": "4 St\u00fcck"
},
"doc_count": 5
},
{
"key": {
"multi-anzahlFachboeden.sorting": "5 St\u00fcck",
"multi-anzahlFachboeden.key": "5 St\u00fcck"
},
"doc_count": 6
},
{
"key": {
"multi-anzahlFachboeden.sorting": "6 St\u00fcck",
"multi-anzahlFachboeden.key": "6 St\u00fcck"
},
"doc_count": 24
},
{
"key": {
"multi-anzahlFachboeden.sorting": "7 St\u00fcck",
"multi-anzahlFachboeden.key": "7 St\u00fcck"
},
"doc_count": 10
},
{
"key": {
"multi-anzahlFachboeden.sorting": "8 St\u00fcck",
"multi-anzahlFachboeden.key": "8 St\u00fcck"
},
"doc_count": 10
},
{
"key": {
"multi-anzahlFachboeden.sorting": "9 St\u00fcck",
"multi-anzahlFachboeden.key": "9 St\u00fcck"
},
"doc_count": 17
}
]
},
"manufacturer-count": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0,
"buckets": [
{
"key": "5267ee69add37a0408db89f9cd30c57f",
"doc_count": 87
},
{
"key": "e92077b923fe7f60b3b5ea31cceb8c2a",
"doc_count": 50
}
]
}
}
}
Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntityAggregator:aggregate
|