| 1 |
15.53 ms |
Request:
{"index":"stage2_product","track_total_hits":true,"body":{"query":{"bool":{"filter":[{"bool":{"must":[{"bool":{"must":[{"nested":{"path":"visibilities","query":{"bool":{"must":[{"range":{"visibilities.visibility":{"gte":30}}},{"term":{"visibilities.salesChannelId":"bfed4ac5fd564ff89843590cdf498c1c"}}]}}}},{"term":{"active":true}}]}},{"nested":{"path":"categoriesRo","query":{"term":{"categoriesRo.id":"cebcec3b19284de5b77b54402b5e3c20"}}}},{"bool":{"must_not":[{"bool":{"must_not":[{"exists":{"field":"displayGroup"}}]}}]}}]}}]}},"sort":[{"_script":{"type":"string","script":{"source":"def languages = params['languages'];\ndef suffix = params.containsKey('suffix') ? '.' + params['suffix'] : '';\n\nfor (int i = 0; i < languages.length; i++) {\n def field_name = params['field'] + '.' + languages[i] + suffix;\n\n if (doc[field_name].size() > 0 && doc[field_name].value != null && doc[field_name].value.toString().length() > 0) {\n def fieldValue = doc[field_name].value;\n\n return fieldValue.toString();\n }\n}\n\nreturn '';\n","lang":"painless","params":{"field":"name","languages":["2fbb5fe2e29a4d70aa5854ce7ce3e20b"]}},"order":"ASC"}},{"id":{"order":"ASC"}}],"aggregations":{"total-count":{"cardinality":{"field":"displayGroup"}}},"from":0,"size":24,"collapse":{"field":"displayGroup"},"timeout":"5s"},"search_type":"query_then_fetch"}
{
"took": 8,
"timed_out": false,
"_shards": {
"total": 3,
"successful": 3,
"skipped": 0,
"failed": 0
},
"hits": {
"total": {
"value": 2,
"relation": "eq"
},
"max_score": null,
"hits": [
{
"_index": "stage2_product_1726559133",
"_id": "0d5b53bdfa0b4c8c9aa310d9ea1148dd",
"_score": null,
"_source": {
"purchasePrices": [],
"referenceUnit": "1.000",
"purchaseUnit": "1.0000",
"unit": {
"id": "2e36b281cbe94d1ab3c5f1b9b6318512",
"name": {
"25395a9610c74c1d88408f0cecb48e2a": "A",
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "A"
},
"shortCode": {
"25395a9610c74c1d88408f0cecb48e2a": "Pro 1",
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "Pro 1"
},
"_count": 1
},
"crossSellings": [],
"keywords": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": null,
"25395a9610c74c1d88408f0cecb48e2a": null
},
"packUnit": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "EVP",
"25395a9610c74c1d88408f0cecb48e2a": null
},
"packUnitPlural": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "EVP",
"25395a9610c74c1d88408f0cecb48e2a": null
},
"id": "0d5b53bdfa0b4c8c9aa310d9ea1148dd",
"autoIncrement": 89866.0,
"ratingAverage": 0.0,
"active": true,
"available": true,
"isCloseout": false,
"shippingFree": false,
"markAsTopseller": false,
"visibilities": [
{
"_count": 1,
"visibility": 30,
"salesChannelId": "25c9dffc2e5647d6aac8414080bc75b3"
},
{
"_count": 1,
"visibility": 30,
"salesChannelId": "bfed4ac5fd564ff89843590cdf498c1c"
}
],
"availableStock": 0,
"productNumber": "10070716",
"ean": null,
"displayGroup": "2a41959f360551d3967413c8df0a0d5d",
"sales": 0,
"stock": 0,
"weight": 0.04,
"width": 0.0,
"length": 0.0,
"height": 0.0,
"manufacturerId": "a6af3314aecf4931abb58194064f6739",
"manufacturerNumber": null,
"releaseDate": null,
"createdAt": "2024-01-08T12:00:25+00:00",
"categoryTree": [
"40e4ef9fa7fe4556bd78223ad7b7e6a5",
"ea8e913e7da94c08981968ffd11cdef0",
"ab422502a8f943be84b8906eb41d8385",
"cebcec3b19284de5b77b54402b5e3c20"
],
"categoriesRo": [
{
"id": "40e4ef9fa7fe4556bd78223ad7b7e6a5",
"_count": 1
},
{
"id": "ea8e913e7da94c08981968ffd11cdef0",
"_count": 1
},
{
"id": "ab422502a8f943be84b8906eb41d8385",
"_count": 1
},
{
"id": "cebcec3b19284de5b77b54402b5e3c20",
"_count": 1
}
],
"taxId": "3c8ac16c569743c28b8c384211844ab1",
"tags": [],
"parentId": null,
"coverId": null,
"childCount": 0,
"categories": [
{
"id": "cebcec3b19284de5b77b54402b5e3c20",
"_count": 1,
"name": {
"25395a9610c74c1d88408f0cecb48e2a": "Pneumatic accessories",
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "Pneumatikzubeh\u00f6r"
}
}
],
"manufacturer": {
"id": "a6af3314aecf4931abb58194064f6739",
"name": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "AVEN"
},
"_count": 1
},
"properties": [
{
"id": "0a8d837c8fc0491d9da7e44fd3ec89a3",
"_count": 1,
"groupId": "0c919a63bc974f90812727e15b3d0882",
"group": {
"id": "0c919a63bc974f90812727e15b3d0882",
"_count": 1
},
"name": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "sofort verf\u00fcgbar"
}
},
{
"id": "2ceb0cba8e4e403e8a1b89287978bb8a",
"_count": 1,
"groupId": "295824a0060c4413948cc507b2d4e541",
"group": {
"id": "295824a0060c4413948cc507b2d4e541",
"_count": 1
},
"name": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "EVP"
}
}
],
"options": [],
"categoryIds": [
"cebcec3b19284de5b77b54402b5e3c20"
],
"optionIds": [],
"propertyIds": [
"0a8d837c8fc0491d9da7e44fd3ec89a3",
"2ceb0cba8e4e403e8a1b89287978bb8a"
],
"tagIds": [],
"states": [
"is-physical"
],
"customFields": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": {
"custom_egate_hsCode": "84812090",
"custom_egate_packCnt": 1.0,
"custom_egate_stockCntMin": 0.0
}
},
"name": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "R422103556",
"25395a9610c74c1d88408f0cecb48e2a": "R422103556"
},
"description": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "5\/2 Wegeventil, Serie LS 04-XS",
"25395a9610c74c1d88408f0cecb48e2a": "5\/2-way valve, Series LS 04-XS"
},
"metaTitle": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": null,
"25395a9610c74c1d88408f0cecb48e2a": null
},
"metaDescription": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": null,
"25395a9610c74c1d88408f0cecb48e2a": null
},
"customSearchKeywords": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": [
"R422103556",
"R 422103556",
"R-422103556",
"R.422103556",
"R422103556 *IMPORT EXPORTBESCHR\u00c4NKUNG*",
"R422103556-*IMPORT-EXPORTBESCHR\u00c4NKUNG*",
"R422103556.*IMPORT.EXPORTBESCHR\u00c4NKUNG*",
"R422103556*IMPORTEXPORTBESCHR\u00c4NKUNG*",
"R 422103556 *IMPORT EXPORTBESCHR\u00c4NKUNG*",
"R-422103556-*IMPORT-EXPORTBESCHR\u00c4NKUNG*",
"R.422103556.*IMPORT.EXPORTBESCHR\u00c4NKUNG*",
"5 2 Wegeventil, Serie LS 04-XS",
"AVENTICS",
"5 2-way valve, Series LS 04-XS"
],
"25395a9610c74c1d88408f0cecb48e2a": [
"R422103556",
"R 422103556",
"R-422103556",
"R.422103556",
"R422103556 *IMPORT EXPORTBESCHR\u00c4NKUNG*",
"R422103556-*IMPORT-EXPORTBESCHR\u00c4NKUNG*",
"R422103556.*IMPORT.EXPORTBESCHR\u00c4NKUNG*",
"R422103556*IMPORTEXPORTBESCHR\u00c4NKUNG*",
"R 422103556 *IMPORT EXPORTBESCHR\u00c4NKUNG*",
"R-422103556-*IMPORT-EXPORTBESCHR\u00c4NKUNG*",
"R.422103556.*IMPORT.EXPORTBESCHR\u00c4NKUNG*",
"5 2 Wegeventil, Serie LS 04-XS",
"AVENTICS",
"5 2-way valve, Series LS 04-XS"
]
},
"cheapest_price_ruledefault_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross": 0.0,
"cheapest_price_ruledefault_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net": 0.0,
"swagDynamicAccessRules": [
{
"id": null,
"_count": 1
}
],
"parent": {
"swagDynamicAccessRules": [
{
"id": null,
"_count": 1
}
]
},
"warehouseGroups": [
{
"id": null,
"_count": 0
}
],
"completion": [
"10070716",
"r422103556"
]
},
"fields": {
"displayGroup": [
"2a41959f360551d3967413c8df0a0d5d"
]
},
"sort": [
"r422103556",
"0d5b53bdfa0b4c8c9aa310d9ea1148dd"
]
},
{
"_index": "stage2_product_1726559133",
"_id": "d91413246c2d436e96975c403db1bc36",
"_score": null,
"_source": {
"purchasePrices": [],
"referenceUnit": "1.000",
"purchaseUnit": "1.0000",
"unit": {
"id": "2e36b281cbe94d1ab3c5f1b9b6318512",
"name": {
"25395a9610c74c1d88408f0cecb48e2a": "A",
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "A"
},
"shortCode": {
"25395a9610c74c1d88408f0cecb48e2a": "Pro 1",
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "Pro 1"
},
"_count": 1
},
"crossSellings": [],
"keywords": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": null,
"25395a9610c74c1d88408f0cecb48e2a": null
},
"packUnit": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "EVP",
"25395a9610c74c1d88408f0cecb48e2a": null
},
"packUnitPlural": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "EVP",
"25395a9610c74c1d88408f0cecb48e2a": null
},
"id": "d91413246c2d436e96975c403db1bc36",
"autoIncrement": 89867.0,
"ratingAverage": 0.0,
"active": true,
"available": true,
"isCloseout": false,
"shippingFree": false,
"markAsTopseller": false,
"visibilities": [
{
"_count": 1,
"visibility": 30,
"salesChannelId": "25c9dffc2e5647d6aac8414080bc75b3"
},
{
"_count": 1,
"visibility": 30,
"salesChannelId": "bfed4ac5fd564ff89843590cdf498c1c"
}
],
"availableStock": 0,
"productNumber": "10070717",
"ean": null,
"displayGroup": "fce3150695d7f31468ab2afeca7aeab0",
"sales": 0,
"stock": 0,
"weight": 0.064,
"width": 0.0,
"length": 0.0,
"height": 0.0,
"manufacturerId": "a6af3314aecf4931abb58194064f6739",
"manufacturerNumber": null,
"releaseDate": null,
"createdAt": "2024-01-08T12:00:25+00:00",
"categoryTree": [
"40e4ef9fa7fe4556bd78223ad7b7e6a5",
"ea8e913e7da94c08981968ffd11cdef0",
"ab422502a8f943be84b8906eb41d8385",
"cebcec3b19284de5b77b54402b5e3c20"
],
"categoriesRo": [
{
"id": "40e4ef9fa7fe4556bd78223ad7b7e6a5",
"_count": 1
},
{
"id": "ea8e913e7da94c08981968ffd11cdef0",
"_count": 1
},
{
"id": "ab422502a8f943be84b8906eb41d8385",
"_count": 1
},
{
"id": "cebcec3b19284de5b77b54402b5e3c20",
"_count": 1
}
],
"taxId": "81c8cab55c744e33a8d3adf5d5e94d1e",
"tags": [],
"parentId": null,
"coverId": null,
"childCount": 0,
"categories": [
{
"id": "cebcec3b19284de5b77b54402b5e3c20",
"_count": 1,
"name": {
"25395a9610c74c1d88408f0cecb48e2a": "Pneumatic accessories",
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "Pneumatikzubeh\u00f6r"
}
}
],
"manufacturer": {
"id": "a6af3314aecf4931abb58194064f6739",
"name": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "AVEN"
},
"_count": 1
},
"properties": [
{
"id": "0a8d837c8fc0491d9da7e44fd3ec89a3",
"_count": 1,
"groupId": "0c919a63bc974f90812727e15b3d0882",
"group": {
"id": "0c919a63bc974f90812727e15b3d0882",
"_count": 1
},
"name": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "sofort verf\u00fcgbar"
}
},
{
"id": "2ceb0cba8e4e403e8a1b89287978bb8a",
"_count": 1,
"groupId": "295824a0060c4413948cc507b2d4e541",
"group": {
"id": "295824a0060c4413948cc507b2d4e541",
"_count": 1
},
"name": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "EVP"
}
}
],
"options": [],
"categoryIds": [
"cebcec3b19284de5b77b54402b5e3c20"
],
"optionIds": [],
"propertyIds": [
"0a8d837c8fc0491d9da7e44fd3ec89a3",
"2ceb0cba8e4e403e8a1b89287978bb8a"
],
"tagIds": [],
"states": [
"is-physical"
],
"customFields": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": {
"custom_egate_hsCode": "84812090",
"custom_egate_packCnt": 1.0,
"custom_egate_stockCntMin": 0.0
}
},
"name": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "R422103573",
"25395a9610c74c1d88408f0cecb48e2a": "422103573"
},
"description": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "3\/2 Wegeventil, Serie LS 04-AF",
"25395a9610c74c1d88408f0cecb48e2a": "3\/2-way valve, Series LS 04-AF"
},
"metaTitle": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": null,
"25395a9610c74c1d88408f0cecb48e2a": null
},
"metaDescription": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": null,
"25395a9610c74c1d88408f0cecb48e2a": null
},
"customSearchKeywords": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": [
"R422103573",
"R 422103573",
"R-422103573",
"R.422103573",
"R422103573 *DUAL USE GUT*",
"R422103573-*DUAL-USE-GUT*",
"R422103573.*DUAL.USE.GUT*",
"R422103573*DUALUSEGUT*",
"R 422103573 *DUAL USE GUT*",
"R-422103573-*DUAL-USE-GUT*",
"R.422103573.*DUAL.USE.GUT*",
"3 2 Wegeventil, Serie LS 04-AF",
"AVENTICS",
"3 2-way valve, Series LS 04-AF"
],
"25395a9610c74c1d88408f0cecb48e2a": [
"R422103573",
"R 422103573",
"R-422103573",
"R.422103573",
"R422103573 *DUAL USE GUT*",
"R422103573-*DUAL-USE-GUT*",
"R422103573.*DUAL.USE.GUT*",
"R422103573*DUALUSEGUT*",
"R 422103573 *DUAL USE GUT*",
"R-422103573-*DUAL-USE-GUT*",
"R.422103573.*DUAL.USE.GUT*",
"3 2 Wegeventil, Serie LS 04-AF",
"AVENTICS",
"3 2-way valve, Series LS 04-AF"
]
},
"cheapest_price_ruledefault_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross": 0.0,
"cheapest_price_ruledefault_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net": 0.0,
"swagDynamicAccessRules": [
{
"id": null,
"_count": 1
}
],
"parent": {
"swagDynamicAccessRules": [
{
"id": null,
"_count": 1
}
]
},
"warehouseGroups": [
{
"id": null,
"_count": 0
}
],
"completion": [
"10070717",
"r422103573",
"422103573"
]
},
"fields": {
"displayGroup": [
"fce3150695d7f31468ab2afeca7aeab0"
]
},
"sort": [
"r422103573",
"d91413246c2d436e96975c403db1bc36"
]
}
]
},
"aggregations": {
"total-count": {
"value": 2
}
}
}
Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher:search
|
| 2 |
6.24 ms |
Request:
{"index":"stage2_product","track_total_hits":false,"body":{"query":{"bool":{"filter":[{"bool":{"must":[{"bool":{"must":[{"nested":{"path":"visibilities","query":{"bool":{"must":[{"range":{"visibilities.visibility":{"gte":30}}},{"term":{"visibilities.salesChannelId":"bfed4ac5fd564ff89843590cdf498c1c"}}]}}}},{"term":{"active":true}}]}},{"nested":{"path":"categoriesRo","query":{"term":{"categoriesRo.id":"cebcec3b19284de5b77b54402b5e3c20"}}}},{"bool":{"must_not":[{"bool":{"must_not":[{"exists":{"field":"displayGroup"}}]}}]}}]}}]}},"aggregations":{"manufacturer":{"terms":{"field":"manufacturerId","size":10000}},"price":{"stats":{"script":{"id":"cheapest_price","params":{"accessors":[{"key":"cheapest_price_rule6b046b97e2c24135a7578de54954c286_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net","factor":1},{"key":"cheapest_price_rule97ee4ade75bd4b26808c00f4c861d1b9_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net","factor":1},{"key":"cheapest_price_rulecf9863d210ef4c33b0b13ed3416d4682_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net","factor":1},{"key":"cheapest_price_rulec2362338eaec42239815ae21a6b60183_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net","factor":1},{"key":"cheapest_price_rule18f6bab70131475a860ca2fa4284875f_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net","factor":1},{"key":"cheapest_price_rule979a59207cd04303a88ac3b100249954_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net","factor":1},{"key":"cheapest_price_ruleb585c17a68fd492bbb0507497e5f9b32_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net","factor":1},{"key":"cheapest_price_ruledefault_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net","factor":1}],"decimals":100,"round":true,"multiplier":100.0}}}},"properties":{"nested":{"path":"properties"},"aggregations":{"properties":{"terms":{"field":"properties.id","size":10000}}}},"options":{"nested":{"path":"options"},"aggregations":{"options":{"terms":{"field":"options.id","size":10000}}}},"tdxcats":{"nested":{"path":"categoriesRo"},"aggregations":{"tdxcats":{"terms":{"field":"categoriesRo.id","size":10000}}}},"length":{"stats":{"field":"length"}},"width":{"stats":{"field":"width"}},"height":{"stats":{"field":"height"}}},"size":0,"timeout":"5s"},"search_type":"query_then_fetch"}
Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntityAggregator:aggregate
|