| 1 |
10.70 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":"c3992fd518fa430b91fe7d31b5a5ac52"}}}},{"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": 5,
"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": "421fb6e85ba04444b363218ec803d712",
"_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": "IVP",
"25395a9610c74c1d88408f0cecb48e2a": null
},
"packUnitPlural": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "IVP",
"25395a9610c74c1d88408f0cecb48e2a": null
},
"id": "421fb6e85ba04444b363218ec803d712",
"autoIncrement": 86297.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": 78,
"productNumber": "10052538",
"ean": null,
"displayGroup": "adcf9310426169da6a057c69be082304",
"sales": 0,
"stock": 78,
"weight": 0.002,
"width": 0.0,
"length": 11.7,
"height": 2.4,
"manufacturerId": "85162abcb8ca413fa62992603cb976be",
"manufacturerNumber": null,
"releaseDate": null,
"createdAt": "2023-09-03T21:48:38+00:00",
"categoryTree": [
"40e4ef9fa7fe4556bd78223ad7b7e6a5",
"ea8e913e7da94c08981968ffd11cdef0",
"cd97ee381ab2480db9f4acafcdcc76a4",
"c3992fd518fa430b91fe7d31b5a5ac52"
],
"categoriesRo": [
{
"id": "40e4ef9fa7fe4556bd78223ad7b7e6a5",
"_count": 1
},
{
"id": "ea8e913e7da94c08981968ffd11cdef0",
"_count": 1
},
{
"id": "cd97ee381ab2480db9f4acafcdcc76a4",
"_count": 1
},
{
"id": "c3992fd518fa430b91fe7d31b5a5ac52",
"_count": 1
}
],
"taxId": "3c8ac16c569743c28b8c384211844ab1",
"tags": [],
"parentId": null,
"coverId": null,
"childCount": 0,
"categories": [
{
"id": "c3992fd518fa430b91fe7d31b5a5ac52",
"_count": 1,
"name": {
"25395a9610c74c1d88408f0cecb48e2a": "Accessories linear technologies",
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "Zubeh\u00f6r Lineartechnik"
}
}
],
"manufacturer": {
"id": "85162abcb8ca413fa62992603cb976be",
"name": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "INA"
},
"_count": 1
},
"properties": [
{
"id": "0a8d837c8fc0491d9da7e44fd3ec89a3",
"_count": 1,
"groupId": "0c919a63bc974f90812727e15b3d0882",
"group": {
"id": "0c919a63bc974f90812727e15b3d0882",
"_count": 1
},
"name": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "sofort verf\u00fcgbar"
}
},
{
"id": "33f805fbdd81401d8058a5c3f10e05d1",
"_count": 1,
"groupId": "93e24712eea04e0392222313893d4a10",
"group": {
"id": "93e24712eea04e0392222313893d4a10",
"_count": 1
},
"name": {
"25395a9610c74c1d88408f0cecb48e2a": "Show only Supreme products",
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "nur Supreme Produkte anzeigen"
}
},
{
"id": "880dd8a94ff749d7af52d78c700ccaa4",
"_count": 1,
"groupId": "295824a0060c4413948cc507b2d4e541",
"group": {
"id": "295824a0060c4413948cc507b2d4e541",
"_count": 1
},
"name": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "IVP"
}
}
],
"options": [],
"categoryIds": [
"c3992fd518fa430b91fe7d31b5a5ac52"
],
"optionIds": [],
"propertyIds": [
"0a8d837c8fc0491d9da7e44fd3ec89a3",
"33f805fbdd81401d8058a5c3f10e05d1",
"880dd8a94ff749d7af52d78c700ccaa4"
],
"tagIds": [],
"states": [
"is-physical"
],
"customFields": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": {
"custom_egate_hsCode": "74152900",
"custom_egate_packCnt": 1.0,
"custom_egate_stockCntMin": 78.0
}
},
"name": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "KA11-M",
"25395a9610c74c1d88408f0cecb48e2a": "KA 11-M"
},
"description": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "Verschlusskappe Messing",
"25395a9610c74c1d88408f0cecb48e2a": null
},
"metaTitle": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": null,
"25395a9610c74c1d88408f0cecb48e2a": null
},
"metaDescription": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": null,
"25395a9610c74c1d88408f0cecb48e2a": null
},
"customSearchKeywords": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": [
"KA11-M",
"KA11 M",
"KA11.M",
"KA11M",
"KA 11-M",
"KA-11-M",
"KA.11-M",
"KA 11 M",
"KA 11.M",
"Verschlusskappe Messing",
"INA",
"Cover lid"
],
"25395a9610c74c1d88408f0cecb48e2a": [
"KA11-M",
"KA11 M",
"KA11.M",
"KA11M",
"KA 11-M",
"KA-11-M",
"KA.11-M",
"KA 11 M",
"KA 11.M",
"Verschlusskappe Messing",
"INA",
"Cover lid"
]
},
"cheapest_price_ruledefault_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross": 0.4046,
"cheapest_price_ruledefault_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net": 0.34,
"streamCategories": [
{
"id": "2c864cff3f8b48d9bb524e8350bbeefb"
}
],
"warehouseGroups": [
{
"id": null,
"_count": 0
}
],
"completion": [
"10052538",
"ka11-m",
"11-m",
"ka 11-m"
]
},
"fields": {
"displayGroup": [
"adcf9310426169da6a057c69be082304"
]
},
"sort": [
"ka11-m",
"421fb6e85ba04444b363218ec803d712"
]
},
{
"_index": "stage2_product_1726559133",
"_id": "b2043c7c6d5b45cd89dde60a6cc654fe",
"_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": "IVP",
"25395a9610c74c1d88408f0cecb48e2a": null
},
"packUnitPlural": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "IVP",
"25395a9610c74c1d88408f0cecb48e2a": null
},
"id": "b2043c7c6d5b45cd89dde60a6cc654fe",
"autoIncrement": 95518.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": "10072320",
"ean": null,
"displayGroup": "166775c254b59222aa0464608eba5af2",
"sales": 0,
"stock": 0,
"weight": 0.5,
"width": 8.0,
"length": 30.0,
"height": 40.0,
"manufacturerId": null,
"manufacturerNumber": null,
"releaseDate": null,
"createdAt": "2024-12-19T05:01:24+00:00",
"categoryTree": [
"40e4ef9fa7fe4556bd78223ad7b7e6a5",
"ea8e913e7da94c08981968ffd11cdef0",
"cd97ee381ab2480db9f4acafcdcc76a4",
"c3992fd518fa430b91fe7d31b5a5ac52"
],
"categoriesRo": [
{
"id": "40e4ef9fa7fe4556bd78223ad7b7e6a5",
"_count": 1
},
{
"id": "ea8e913e7da94c08981968ffd11cdef0",
"_count": 1
},
{
"id": "cd97ee381ab2480db9f4acafcdcc76a4",
"_count": 1
},
{
"id": "c3992fd518fa430b91fe7d31b5a5ac52",
"_count": 1
}
],
"taxId": "81c8cab55c744e33a8d3adf5d5e94d1e",
"tags": [],
"parentId": null,
"coverId": null,
"childCount": 0,
"categories": [
{
"id": "c3992fd518fa430b91fe7d31b5a5ac52",
"_count": 1,
"name": {
"25395a9610c74c1d88408f0cecb48e2a": "Accessories linear technologies",
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "Zubeh\u00f6r Lineartechnik"
}
}
],
"manufacturer": {
"id": null,
"name": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": null
},
"_count": 1
},
"properties": [
{
"id": "0a8d837c8fc0491d9da7e44fd3ec89a3",
"_count": 1,
"groupId": "0c919a63bc974f90812727e15b3d0882",
"group": {
"id": "0c919a63bc974f90812727e15b3d0882",
"_count": 1
},
"name": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "sofort verf\u00fcgbar"
}
},
{
"id": "880dd8a94ff749d7af52d78c700ccaa4",
"_count": 1,
"groupId": "295824a0060c4413948cc507b2d4e541",
"group": {
"id": "295824a0060c4413948cc507b2d4e541",
"_count": 1
},
"name": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "IVP"
}
}
],
"options": [],
"categoryIds": [
"c3992fd518fa430b91fe7d31b5a5ac52"
],
"optionIds": [],
"propertyIds": [
"0a8d837c8fc0491d9da7e44fd3ec89a3",
"880dd8a94ff749d7af52d78c700ccaa4"
],
"tagIds": [],
"states": [
"is-physical"
],
"customFields": [],
"name": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "QPG330-POS06+07",
"25395a9610c74c1d88408f0cecb48e2a": "QPG330-POS06+07"
},
"description": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "Kolben mit Magnet f\u00fcr Parallelgreifer QPG 330",
"25395a9610c74c1d88408f0cecb48e2a": null
},
"metaTitle": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": null,
"25395a9610c74c1d88408f0cecb48e2a": null
},
"metaDescription": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": null,
"25395a9610c74c1d88408f0cecb48e2a": null
},
"customSearchKeywords": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": [
"QPG330-POS06+07",
"QPG330 POS06+07",
"QPG330.POS06+07",
"QPG330POS06+07",
"QPG 330-POS06+07",
"QPG-330-POS06+07",
"QPG.330-POS06+07",
"QPG 330 POS06+07",
"QPG 330.POS06+07",
"Kolben mit Magnet f\u00fcr Parallelgreifer QPG 330",
"Seals"
],
"25395a9610c74c1d88408f0cecb48e2a": [
"QPG330-POS06+07",
"QPG330 POS06+07",
"QPG330.POS06+07",
"QPG330POS06+07",
"QPG 330-POS06+07",
"QPG-330-POS06+07",
"QPG.330-POS06+07",
"QPG 330 POS06+07",
"QPG 330.POS06+07",
"Kolben mit Magnet f\u00fcr Parallelgreifer QPG 330",
"Seals"
]
},
"cheapest_price_ruledefault_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross": 0.0,
"cheapest_price_ruledefault_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net": 0.0,
"warehouseGroups": [
{
"id": null,
"_count": 0
}
],
"completion": [
"10072320",
"qpg330-pos06+07"
]
},
"fields": {
"displayGroup": [
"166775c254b59222aa0464608eba5af2"
]
},
"sort": [
"qpg330-pos06+07",
"b2043c7c6d5b45cd89dde60a6cc654fe"
]
}
]
},
"aggregations": {
"total-count": {
"value": 2
}
}
}
Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher:search
|
| 2 |
4.65 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":"c3992fd518fa430b91fe7d31b5a5ac52"}}}},{"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_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
|