| 1 |
15.93 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":"c17ec2c17e92c5ab07439911654e9a4f"}},{"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":24,"size":24,"collapse":{"field":"displayGroup"},"timeout":"5s"}}
{
"took": 3,
"timed_out": false,
"_shards": {
"total": 1,
"successful": 1,
"skipped": 0,
"failed": 0
},
"hits": {
"total": {
"value": 72,
"relation": "eq"
},
"max_score": null,
"hits": [
{
"_index": "staging-67_product_1776930924",
"_id": "00bee5e0a029a1f68bdf461c36883d7c",
"_score": 1100.0,
"_source": {
"id": "00bee5e0a029a1f68bdf461c36883d7c",
"autoIncrement": 132299.0
},
"fields": {
"displayGroup": [
"e686444b8870ee8472fd055ed4b4f8a8"
]
},
"sort": [
0,
1100.0,
0,
132299,
"00bee5e0a029a1f68bdf461c36883d7c"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "834ceb1605abf270cbc9e49a0129864a",
"_score": 1100.0,
"_source": {
"id": "834ceb1605abf270cbc9e49a0129864a",
"autoIncrement": 132298.0
},
"fields": {
"displayGroup": [
"d426f0f4c50505bf34e971af854d0a50"
]
},
"sort": [
0,
1100.0,
0,
132298,
"834ceb1605abf270cbc9e49a0129864a"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "dd24a964498ef352c7792aba1d78930a",
"_score": 1100.0,
"_source": {
"id": "dd24a964498ef352c7792aba1d78930a",
"autoIncrement": 132295.0
},
"fields": {
"displayGroup": [
"c8ebb62a68e8c618707d489c4001049b"
]
},
"sort": [
0,
1100.0,
0,
132295,
"dd24a964498ef352c7792aba1d78930a"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "ea6260e8e8b1e74ca1c94f187f8f363c",
"_score": 1100.0,
"_source": {
"id": "ea6260e8e8b1e74ca1c94f187f8f363c",
"autoIncrement": 132294.0
},
"fields": {
"displayGroup": [
"88476d7c6591b0bc5c73871f15fc0b6c"
]
},
"sort": [
0,
1100.0,
0,
132294,
"ea6260e8e8b1e74ca1c94f187f8f363c"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "b81e62000ae34a7e910d37c842656d50",
"_score": 1100.0,
"_source": {
"id": "b81e62000ae34a7e910d37c842656d50",
"autoIncrement": 132292.0
},
"fields": {
"displayGroup": [
"4c13724e6a3833e074250f5c455baa9b"
]
},
"sort": [
0,
1100.0,
0,
132292,
"b81e62000ae34a7e910d37c842656d50"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "d63d1a88fb170a2f5159a422d7dcd626",
"_score": 1100.0,
"_source": {
"id": "d63d1a88fb170a2f5159a422d7dcd626",
"autoIncrement": 132290.0
},
"fields": {
"displayGroup": [
"fefbc056c6bd8b31bbd070a749445638"
]
},
"sort": [
0,
1100.0,
0,
132290,
"d63d1a88fb170a2f5159a422d7dcd626"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "795a6319fea4cac96a04618154dadb87",
"_score": 1100.0,
"_source": {
"id": "795a6319fea4cac96a04618154dadb87",
"autoIncrement": 132289.0
},
"fields": {
"displayGroup": [
"f47273cc25454aeffd980699db07d585"
]
},
"sort": [
0,
1100.0,
0,
132289,
"795a6319fea4cac96a04618154dadb87"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "58d31c6b380245b76f4c4e384273455f",
"_score": 1100.0,
"_source": {
"id": "58d31c6b380245b76f4c4e384273455f",
"autoIncrement": 132288.0
},
"fields": {
"displayGroup": [
"0b49aef933e1891e4435fcef47260ebd"
]
},
"sort": [
0,
1100.0,
0,
132288,
"58d31c6b380245b76f4c4e384273455f"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "3524b08835315491c3177cb4a32034a0",
"_score": 1100.0,
"_source": {
"id": "3524b08835315491c3177cb4a32034a0",
"autoIncrement": 132287.0
},
"fields": {
"displayGroup": [
"8da10b495cbbd3d130f776b3df754fb5"
]
},
"sort": [
0,
1100.0,
0,
132287,
"3524b08835315491c3177cb4a32034a0"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "2da16b13cd1cb7212e5282e37790271c",
"_score": 1100.0,
"_source": {
"id": "2da16b13cd1cb7212e5282e37790271c",
"autoIncrement": 126798.0
},
"fields": {
"displayGroup": [
"ec03b8e36030fc1287c219957d1c9a4b"
]
},
"sort": [
0,
1100.0,
0,
126798,
"2da16b13cd1cb7212e5282e37790271c"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "ea770de53b42545e375d36f7e944ffc5",
"_score": 1100.0,
"_source": {
"id": "ea770de53b42545e375d36f7e944ffc5",
"autoIncrement": 121035.0
},
"fields": {
"displayGroup": [
"c51efebda3b87006af412e837a6adb6f"
]
},
"sort": [
0,
1100.0,
0,
121035,
"ea770de53b42545e375d36f7e944ffc5"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "d20f8dcdb4c7d6a443e3f5fa8cb80a2f",
"_score": 1100.0,
"_source": {
"id": "d20f8dcdb4c7d6a443e3f5fa8cb80a2f",
"autoIncrement": 107317.0
},
"fields": {
"displayGroup": [
"e63157f0a6343f33d7f4957c670fb0be"
]
},
"sort": [
0,
1100.0,
0,
107317,
"d20f8dcdb4c7d6a443e3f5fa8cb80a2f"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "de2d2ba21f991ee7242231cb06cb8983",
"_score": 1100.0,
"_source": {
"id": "de2d2ba21f991ee7242231cb06cb8983",
"autoIncrement": 107316.0
},
"fields": {
"displayGroup": [
"81f81ad877bd1a32e0771680e419efa8"
]
},
"sort": [
0,
1100.0,
0,
107316,
"de2d2ba21f991ee7242231cb06cb8983"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "8cf455977f64d280d3619c6946524056",
"_score": 1100.0,
"_source": {
"id": "8cf455977f64d280d3619c6946524056",
"autoIncrement": 107313.0
},
"fields": {
"displayGroup": [
"d5959352b1475928f61c930cdfa7da6d"
]
},
"sort": [
0,
1100.0,
0,
107313,
"8cf455977f64d280d3619c6946524056"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "3176b4f741762379c2af8336b23cddc4",
"_score": 1100.0,
"_source": {
"id": "3176b4f741762379c2af8336b23cddc4",
"autoIncrement": 107312.0
},
"fields": {
"displayGroup": [
"1ded6e20fb0d928fb451b86ef3943d64"
]
},
"sort": [
0,
1100.0,
0,
107312,
"3176b4f741762379c2af8336b23cddc4"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "466b0822dd2ff01b18a3ad1cf6ffc7d3",
"_score": 1100.0,
"_source": {
"id": "466b0822dd2ff01b18a3ad1cf6ffc7d3",
"autoIncrement": 107311.0
},
"fields": {
"displayGroup": [
"46e7fc5b35f2882cbcaa700925b4553f"
]
},
"sort": [
0,
1100.0,
0,
107311,
"466b0822dd2ff01b18a3ad1cf6ffc7d3"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "4c0be76824ca5bf41996a4774483a9e4",
"_score": 1100.0,
"_source": {
"id": "4c0be76824ca5bf41996a4774483a9e4",
"autoIncrement": 107310.0
},
"fields": {
"displayGroup": [
"8ee611a89edf2fee3ccfef68b70b29e6"
]
},
"sort": [
0,
1100.0,
0,
107310,
"4c0be76824ca5bf41996a4774483a9e4"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "7c901a758bb3156a0b669c8489f8de55",
"_score": 1100.0,
"_source": {
"id": "7c901a758bb3156a0b669c8489f8de55",
"autoIncrement": 107309.0
},
"fields": {
"displayGroup": [
"810f2ef361d92e60e5e74f91ab9d5e5f"
]
},
"sort": [
0,
1100.0,
0,
107309,
"7c901a758bb3156a0b669c8489f8de55"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "30952821f561e05e43afb14d0b90a88d",
"_score": 1100.0,
"_source": {
"id": "30952821f561e05e43afb14d0b90a88d",
"autoIncrement": 107308.0
},
"fields": {
"displayGroup": [
"80a95d81acdadc5320c48db7f1028e26"
]
},
"sort": [
0,
1100.0,
0,
107308,
"30952821f561e05e43afb14d0b90a88d"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "2b0aa5fe9739fe80976e023912fa4237",
"_score": 1100.0,
"_source": {
"id": "2b0aa5fe9739fe80976e023912fa4237",
"autoIncrement": 68876.0
},
"fields": {
"displayGroup": [
"9f42db313e84f3ab96eacfaee90c876e"
]
},
"sort": [
0,
1100.0,
0,
68876,
"2b0aa5fe9739fe80976e023912fa4237"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "cee46717e883508b9115dfd1430fd264",
"_score": 1100.0,
"_source": {
"id": "cee46717e883508b9115dfd1430fd264",
"autoIncrement": 62953.0
},
"fields": {
"displayGroup": [
"e464c90f10af93c50cb9f35354a7c2e7"
]
},
"sort": [
0,
1100.0,
0,
62953,
"cee46717e883508b9115dfd1430fd264"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "0185bf3d961cd3974b2ed60da235982c",
"_score": 1100.0,
"_source": {
"id": "0185bf3d961cd3974b2ed60da235982c",
"autoIncrement": 62952.0
},
"fields": {
"displayGroup": [
"99f7ea836aed956f2c0b8f9f272d1763"
]
},
"sort": [
0,
1100.0,
0,
62952,
"0185bf3d961cd3974b2ed60da235982c"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "ea1ddc66c4fdefb2cefd7a54fef02933",
"_score": 1100.0,
"_source": {
"id": "ea1ddc66c4fdefb2cefd7a54fef02933",
"autoIncrement": 61930.0
},
"fields": {
"displayGroup": [
"e22f342959c52a112aec531bc29d063e"
]
},
"sort": [
0,
1100.0,
0,
61930,
"ea1ddc66c4fdefb2cefd7a54fef02933"
]
},
{
"_index": "staging-67_product_1776930924",
"_id": "2c95ebfe5741b3712db70d266539e57f",
"_score": 1100.0,
"_source": {
"id": "2c95ebfe5741b3712db70d266539e57f",
"autoIncrement": 60958.0
},
"fields": {
"displayGroup": [
"dce9841b5fb25b2a4585477399b99830"
]
},
"sort": [
0,
1100.0,
0,
60958,
"2c95ebfe5741b3712db70d266539e57f"
]
}
]
},
"aggregations": {
"total-count": {
"value": 72
}
}
}
Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher:search
|
| 2 |
5.54 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":"c17ec2c17e92c5ab07439911654e9a4f"}},{"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-typModel":{"composite":{"sources":[{"multi-typModel.sorting":{"terms":{"field":"attribute_typModel","order":"ASC"}}},{"multi-typModel.key":{"terms":{"field":"attribute_typModel"}}}],"size":"99999"}},"multi-farbe":{"composite":{"sources":[{"multi-farbe.sorting":{"terms":{"field":"attribute_farbe","order":"ASC"}}},{"multi-farbe.key":{"terms":{"field":"attribute_farbe"}}}],"size":"99999"}},"multi-radabstand":{"composite":{"sources":[{"multi-radabstand.sorting":{"terms":{"field":"attribute_radabstand","order":"ASC"}}},{"multi-radabstand.key":{"terms":{"field":"attribute_radabstand"}}}],"size":"99999"}},"range-anzahlFahrradaufnahmen":{"stats":{"field":"attribute_anzahlFahrradaufnahmen"}},"multi-befestigungsart":{"composite":{"sources":[{"multi-befestigungsart.sorting":{"terms":{"field":"attribute_befestigungsart","order":"ASC"}}},{"multi-befestigungsart.key":{"terms":{"field":"attribute_befestigungsart"}}}],"size":"99999"}},"multi-material":{"composite":{"sources":[{"multi-material.sorting":{"terms":{"field":"attribute_material","order":"ASC"}}},{"multi-material.key":{"terms":{"field":"attribute_material"}}}],"size":"99999"}},"multi-aufnahmekapazitaet":{"composite":{"sources":[{"multi-aufnahmekapazitaet.sorting":{"terms":{"field":"attribute_aufnahmekapazitaet","order":"ASC"}}},{"multi-aufnahmekapazitaet.key":{"terms":{"field":"attribute_aufnahmekapazitaet"}}}],"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": "c17ec2c17e92c5ab07439911654e9a4f"
}
},
{
"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-typModel": {
"composite": {
"sources": [
{
"multi-typModel.sorting": {
"terms": {
"field": "attribute_typModel",
"order": "ASC"
}
}
},
{
"multi-typModel.key": {
"terms": {
"field": "attribute_typModel"
}
}
}
],
"size": "99999"
}
},
"multi-farbe": {
"composite": {
"sources": [
{
"multi-farbe.sorting": {
"terms": {
"field": "attribute_farbe",
"order": "ASC"
}
}
},
{
"multi-farbe.key": {
"terms": {
"field": "attribute_farbe"
}
}
}
],
"size": "99999"
}
},
"multi-radabstand": {
"composite": {
"sources": [
{
"multi-radabstand.sorting": {
"terms": {
"field": "attribute_radabstand",
"order": "ASC"
}
}
},
{
"multi-radabstand.key": {
"terms": {
"field": "attribute_radabstand"
}
}
}
],
"size": "99999"
}
},
"range-anzahlFahrradaufnahmen": {
"stats": {
"field": "attribute_anzahlFahrradaufnahmen"
}
},
"multi-befestigungsart": {
"composite": {
"sources": [
{
"multi-befestigungsart.sorting": {
"terms": {
"field": "attribute_befestigungsart",
"order": "ASC"
}
}
},
{
"multi-befestigungsart.key": {
"terms": {
"field": "attribute_befestigungsart"
}
}
}
],
"size": "99999"
}
},
"multi-material": {
"composite": {
"sources": [
{
"multi-material.sorting": {
"terms": {
"field": "attribute_material",
"order": "ASC"
}
}
},
{
"multi-material.key": {
"terms": {
"field": "attribute_material"
}
}
}
],
"size": "99999"
}
},
"multi-aufnahmekapazitaet": {
"composite": {
"sources": [
{
"multi-aufnahmekapazitaet.sorting": {
"terms": {
"field": "attribute_aufnahmekapazitaet",
"order": "ASC"
}
}
},
{
"multi-aufnahmekapazitaet.key": {
"terms": {
"field": "attribute_aufnahmekapazitaet"
}
}
}
],
"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": 72,
"min": 50.0,
"max": 1481.0,
"avg": 275.5416666666667,
"sum": 19839.0
},
"rating-exists": {
"doc_count": 72,
"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": "ab6a2208365e18d40ae5310cd208c26e",
"manufacturer-count-filter.key": "ab6a2208365e18d40ae5310cd208c26e"
},
"buckets": [
{
"key": {
"manufacturer-count-filter.sorting": "18e6b17f5ea12a9dfb6ca9b1feb4755c",
"manufacturer-count-filter.key": "18e6b17f5ea12a9dfb6ca9b1feb4755c"
},
"doc_count": 6
},
{
"key": {
"manufacturer-count-filter.sorting": "ab6a2208365e18d40ae5310cd208c26e",
"manufacturer-count-filter.key": "ab6a2208365e18d40ae5310cd208c26e"
},
"doc_count": 18
}
]
},
"bool-reduced": {
"doc_count": 2,
"bool-reduced": {
"value": 2
}
},
"width": {
"count": 54,
"min": 600.0,
"max": 3240.0,
"avg": 1638.037037037037,
"sum": 88454.0
},
"width-stats": {
"doc_count": 54,
"width-stats": {
"count": 54,
"min": 600.0,
"max": 3240.0,
"avg": 1638.037037037037,
"sum": 88454.0
}
},
"height": {
"count": 0,
"min": null,
"max": null,
"avg": null,
"sum": 0.0
},
"height-stats": {
"doc_count": 0,
"height-stats": {
"count": 0,
"min": null,
"max": null,
"avg": null,
"sum": 0.0
}
},
"tiefe": {
"count": 1,
"min": 944.0,
"max": 944.0,
"avg": 944.0,
"sum": 944.0
},
"multi-typModel": {
"after_key": {
"multi-typModel.sorting": "B\u00fcgelst\u00e4nder",
"multi-typModel.key": "B\u00fcgelst\u00e4nder"
},
"buckets": [
{
"key": {
"multi-typModel.sorting": "Anlehnb\u00fcgel",
"multi-typModel.key": "Anlehnb\u00fcgel"
},
"doc_count": 15
},
{
"key": {
"multi-typModel.sorting": "Anlehnst\u00e4nder",
"multi-typModel.key": "Anlehnst\u00e4nder"
},
"doc_count": 10
},
{
"key": {
"multi-typModel.sorting": "B\u00fcgelst\u00e4nder",
"multi-typModel.key": "B\u00fcgelst\u00e4nder"
},
"doc_count": 47
}
]
},
"multi-farbe": {
"after_key": {
"multi-farbe.sorting": "verzinkt",
"multi-farbe.key": "verzinkt"
},
"buckets": [
{
"key": {
"multi-farbe.sorting": "feuerverzinkt",
"multi-farbe.key": "feuerverzinkt"
},
"doc_count": 18
},
{
"key": {
"multi-farbe.sorting": "verzinkt",
"multi-farbe.key": "verzinkt"
},
"doc_count": 54
}
]
},
"multi-radabstand": {
"after_key": {
"multi-radabstand.sorting": "540 mm",
"multi-radabstand.key": "540 mm"
},
"buckets": [
{
"key": {
"multi-radabstand.sorting": "350 mm",
"multi-radabstand.key": "350 mm"
},
"doc_count": 29
},
{
"key": {
"multi-radabstand.sorting": "390 mm",
"multi-radabstand.key": "390 mm"
},
"doc_count": 4
},
{
"key": {
"multi-radabstand.sorting": "500 mm",
"multi-radabstand.key": "500 mm"
},
"doc_count": 25
},
{
"key": {
"multi-radabstand.sorting": "540 mm",
"multi-radabstand.key": "540 mm"
},
"doc_count": 6
}
]
},
"range-anzahlFahrradaufnahmen": {
"count": 0,
"min": null,
"max": null,
"avg": null,
"sum": 0.0
},
"multi-befestigungsart": {
"after_key": {
"multi-befestigungsart.sorting": "zur Wandbefestigung",
"multi-befestigungsart.key": "zur Wandbefestigung"
},
"buckets": [
{
"key": {
"multi-befestigungsart.sorting": "Bodenbefestigung",
"multi-befestigungsart.key": "Bodenbefestigung"
},
"doc_count": 18
},
{
"key": {
"multi-befestigungsart.sorting": "zum Anschrauben",
"multi-befestigungsart.key": "zum Anschrauben"
},
"doc_count": 8
},
{
"key": {
"multi-befestigungsart.sorting": "zum Aufduebeln",
"multi-befestigungsart.key": "zum Aufduebeln"
},
"doc_count": 3
},
{
"key": {
"multi-befestigungsart.sorting": "zum Aufd\u00fcbeln",
"multi-befestigungsart.key": "zum Aufd\u00fcbeln"
},
"doc_count": 27
},
{
"key": {
"multi-befestigungsart.sorting": "zum Einbetonieren",
"multi-befestigungsart.key": "zum Einbetonieren"
},
"doc_count": 5
},
{
"key": {
"multi-befestigungsart.sorting": "zur Wandbefestigung",
"multi-befestigungsart.key": "zur Wandbefestigung"
},
"doc_count": 5
}
]
},
"multi-material": {
"after_key": {
"multi-material.sorting": "Stahl, verzinkt",
"multi-material.key": "Stahl, verzinkt"
},
"buckets": [
{
"key": {
"multi-material.sorting": "Stahl",
"multi-material.key": "Stahl"
},
"doc_count": 64
},
{
"key": {
"multi-material.sorting": "Stahl, verzinkt",
"multi-material.key": "Stahl, verzinkt"
},
"doc_count": 2
}
]
},
"multi-aufnahmekapazitaet": {
"buckets": []
},
"manufacturer-count": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0,
"buckets": [
{
"key": "ab6a2208365e18d40ae5310cd208c26e",
"doc_count": 18
},
{
"key": "18e6b17f5ea12a9dfb6ca9b1feb4755c",
"doc_count": 6
}
]
}
}
}
Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntityAggregator:aggregate
|