| 1 |
967.98 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":"42e46956a8f64682a488339a31418b74"}}}},{"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": 962,
"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": "9805a1c84752446c9ecb508bccdd7132",
"_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": "9805a1c84752446c9ecb508bccdd7132",
"autoIncrement": 80707.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": 300,
"productNumber": "10049705",
"ean": null,
"displayGroup": "1de55de220ac3db0b9fc25582b1a63e1",
"sales": 0,
"stock": 300,
"weight": 0.067,
"width": 0.0,
"length": 0.0,
"height": 0.0,
"manufacturerId": "7e9f240f28324fb09ce7b5439c7d8a19",
"manufacturerNumber": null,
"releaseDate": null,
"createdAt": "2022-11-17T23:20:30+00:00",
"categoryTree": [
"40e4ef9fa7fe4556bd78223ad7b7e6a5",
"ea8e913e7da94c08981968ffd11cdef0",
"e6befc3c56734cc39d2aca36c18e06e4",
"58bc3b0caea1461187e3dac9df153cd9",
"42e46956a8f64682a488339a31418b74",
"54bc308d4e25408ba89f9221a859fc95"
],
"categoriesRo": [
{
"id": "40e4ef9fa7fe4556bd78223ad7b7e6a5",
"_count": 1
},
{
"id": "ea8e913e7da94c08981968ffd11cdef0",
"_count": 1
},
{
"id": "e6befc3c56734cc39d2aca36c18e06e4",
"_count": 1
},
{
"id": "58bc3b0caea1461187e3dac9df153cd9",
"_count": 1
},
{
"id": "42e46956a8f64682a488339a31418b74",
"_count": 1
},
{
"id": "54bc308d4e25408ba89f9221a859fc95",
"_count": 1
}
],
"taxId": "81c8cab55c744e33a8d3adf5d5e94d1e",
"tags": [],
"parentId": null,
"coverId": null,
"childCount": 0,
"categories": [
{
"id": "42e46956a8f64682a488339a31418b74",
"_count": 1,
"name": {
"25395a9610c74c1d88408f0cecb48e2a": "Sealing material",
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "Dichtungsmaterial"
}
},
{
"id": "54bc308d4e25408ba89f9221a859fc95",
"_count": 1,
"name": {
"25395a9610c74c1d88408f0cecb48e2a": "Fastening technology",
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "Befestigungstechnik"
}
}
],
"manufacturer": {
"id": "7e9f240f28324fb09ce7b5439c7d8a19",
"name": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "SOUT"
},
"_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": [
"42e46956a8f64682a488339a31418b74",
"54bc308d4e25408ba89f9221a859fc95"
],
"optionIds": [],
"propertyIds": [
"0a8d837c8fc0491d9da7e44fd3ec89a3",
"2ceb0cba8e4e403e8a1b89287978bb8a"
],
"tagIds": [],
"states": [
"is-physical"
],
"customFields": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": {
"custom_egate_hsCode": "40169991",
"custom_egate_packCnt": 1.0,
"custom_egate_stockCntMin": 0.0
},
"25395a9610c74c1d88408f0cecb48e2a": []
},
"name": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "300118629",
"25395a9610c74c1d88408f0cecb48e2a": "19-14-10"
},
"description": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "Quetschverschluss mit Klappgriff, hohe Belastbarkeit, southco 19, Zinkdruckguss,",
"25395a9610c74c1d88408f0cecb48e2a": null
},
"metaTitle": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": null,
"25395a9610c74c1d88408f0cecb48e2a": null
},
"metaDescription": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": null,
"25395a9610c74c1d88408f0cecb48e2a": null
},
"customSearchKeywords": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": [
"300118629",
"19-14-10",
"19 14 10",
"19.14.10",
"191410",
"Quetschverschluss mit Klappgriff, hohe Belastbarkeit, southco 19, Zinkdruckguss,",
"Southco",
"Swell latch"
],
"25395a9610c74c1d88408f0cecb48e2a": [
"300118629",
"19-14-10",
"19 14 10",
"19.14.10",
"191410",
"Quetschverschluss mit Klappgriff, hohe Belastbarkeit, southco 19, Zinkdruckguss,",
"Southco",
"Swell latch"
]
},
"cheapest_price_ruledefault_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross": 0.0,
"cheapest_price_ruledefault_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net": 0.0,
"warehouseGroups": [
{
"id": null,
"_count": 0
}
],
"completion": [
"10049705",
"300118629",
"19-14-10"
]
},
"fields": {
"displayGroup": [
"1de55de220ac3db0b9fc25582b1a63e1"
]
},
"sort": [
"300118629",
"9805a1c84752446c9ecb508bccdd7132"
]
},
{
"_index": "stage2_product_1726559133",
"_id": "354e76c7f4844c35b836e5baffe1f852",
"_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": "354e76c7f4844c35b836e5baffe1f852",
"autoIncrement": 80116.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": 16,
"productNumber": "10047075",
"ean": "4058093058244",
"displayGroup": "e2e3ff28d6235ed3d1051fe2b7ab445c",
"sales": 0,
"stock": 16,
"weight": 0.117,
"width": 0.0,
"length": 0.0,
"height": 0.0,
"manufacturerId": "2792cf2a64b04d44a7d25bfac4ba6952",
"manufacturerNumber": "2957112",
"releaseDate": null,
"createdAt": "2022-11-17T23:15:21+00:00",
"categoryTree": [
"40e4ef9fa7fe4556bd78223ad7b7e6a5",
"ea8e913e7da94c08981968ffd11cdef0",
"e6befc3c56734cc39d2aca36c18e06e4",
"42e46956a8f64682a488339a31418b74"
],
"categoriesRo": [
{
"id": "40e4ef9fa7fe4556bd78223ad7b7e6a5",
"_count": 1
},
{
"id": "ea8e913e7da94c08981968ffd11cdef0",
"_count": 1
},
{
"id": "e6befc3c56734cc39d2aca36c18e06e4",
"_count": 1
},
{
"id": "42e46956a8f64682a488339a31418b74",
"_count": 1
}
],
"taxId": "3c8ac16c569743c28b8c384211844ab1",
"tags": [],
"parentId": null,
"coverId": null,
"childCount": 0,
"categories": [
{
"id": "42e46956a8f64682a488339a31418b74",
"_count": 1,
"name": {
"25395a9610c74c1d88408f0cecb48e2a": "Sealing material",
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "Dichtungsmaterial"
}
}
],
"manufacturer": {
"id": "2792cf2a64b04d44a7d25bfac4ba6952",
"name": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "LOC"
},
"_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": [
"42e46956a8f64682a488339a31418b74"
],
"optionIds": [],
"propertyIds": [
"0a8d837c8fc0491d9da7e44fd3ec89a3",
"880dd8a94ff749d7af52d78c700ccaa4"
],
"tagIds": [],
"states": [
"is-physical"
],
"customFields": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": {
"custom_egate_hsCode": "59119099",
"custom_egate_packCnt": 12.0,
"custom_egate_stockCntMin": 0.0
},
"25395a9610c74c1d88408f0cecb48e2a": []
},
"name": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "LOCTITE 55 40X160M DE\/FR",
"25395a9610c74c1d88408f0cecb48e2a": "LOC 55 160M Dose"
},
"description": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "Gewindedichtfaden 160M Dose",
"25395a9610c74c1d88408f0cecb48e2a": "thread sealant"
},
"metaTitle": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": null,
"25395a9610c74c1d88408f0cecb48e2a": null
},
"metaDescription": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": null,
"25395a9610c74c1d88408f0cecb48e2a": null
},
"customSearchKeywords": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": [
"LOCTITE 55 40X160M DE FR",
"LOCTITE-55-40X160M-DE-FR",
"LOCTITE.55.40X160M.DE.FR",
"LOCTITE5540X160MDEFR",
"LOC 55 160M Dose",
"LOC-55-160M-Dose",
"LOC.55.160M.Dose",
"LOC55160MDose",
"Gewindedichtfaden 160M Dose",
"LOCTITE",
"thread sealant"
],
"25395a9610c74c1d88408f0cecb48e2a": [
"LOCTITE 55 40X160M DE FR",
"LOCTITE-55-40X160M-DE-FR",
"LOCTITE.55.40X160M.DE.FR",
"LOCTITE5540X160MDEFR",
"LOC 55 160M Dose",
"LOC-55-160M-Dose",
"LOC.55.160M.Dose",
"LOC55160MDose",
"Gewindedichtfaden 160M Dose",
"LOCTITE",
"thread sealant"
]
},
"cheapest_price_ruledefault_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross": 21.2534,
"cheapest_price_ruledefault_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net": 17.86,
"warehouseGroups": [
{
"id": null,
"_count": 0
}
],
"completion": [
"10047075",
"4058093058244",
"2957112",
"loctite",
"40x160m",
"de\/fr",
"loc",
"160m",
"dose",
"loctite 55 40x160m de\/fr",
"loc 55 160m dose"
]
},
"fields": {
"displayGroup": [
"e2e3ff28d6235ed3d1051fe2b7ab445c"
]
},
"sort": [
"loctite 55 40x160m de\/fr",
"354e76c7f4844c35b836e5baffe1f852"
]
}
]
},
"aggregations": {
"total-count": {
"value": 2
}
}
}
Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher:search
|
| 2 |
5.49 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":"42e46956a8f64682a488339a31418b74"}}}},{"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
|