| 1 |
13.72 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":"aae3d881fa954c8fb78960253d368825"}}}},{"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": 7,
"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": "5a426082d4bc4cf5a24911d52321af9c",
"_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": "5a426082d4bc4cf5a24911d52321af9c",
"autoIncrement": 79298.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": 1,
"productNumber": "10042687",
"ean": "079340972629",
"displayGroup": "d6712b8835e188489311ef317545f0ec",
"sales": 0,
"stock": 1,
"weight": 0.029,
"width": 0.0,
"length": 0.0,
"height": 0.0,
"manufacturerId": "2792cf2a64b04d44a7d25bfac4ba6952",
"manufacturerNumber": "218288",
"releaseDate": null,
"createdAt": "2022-11-17T23:08:13+00:00",
"categoryTree": [
"40e4ef9fa7fe4556bd78223ad7b7e6a5",
"ea8e913e7da94c08981968ffd11cdef0",
"bd9cdd9068154f85baede69db3cacf1d",
"aae3d881fa954c8fb78960253d368825"
],
"categoriesRo": [
{
"id": "40e4ef9fa7fe4556bd78223ad7b7e6a5",
"_count": 1
},
{
"id": "ea8e913e7da94c08981968ffd11cdef0",
"_count": 1
},
{
"id": "bd9cdd9068154f85baede69db3cacf1d",
"_count": 1
},
{
"id": "aae3d881fa954c8fb78960253d368825",
"_count": 1
}
],
"taxId": "3c8ac16c569743c28b8c384211844ab1",
"tags": [],
"parentId": null,
"coverId": null,
"childCount": 0,
"categories": [
{
"id": "aae3d881fa954c8fb78960253d368825",
"_count": 1,
"name": {
"25395a9610c74c1d88408f0cecb48e2a": "Dosing devices",
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "Dosierger\u00e4te"
}
}
],
"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": [
"aae3d881fa954c8fb78960253d368825"
],
"optionIds": [],
"propertyIds": [
"0a8d837c8fc0491d9da7e44fd3ec89a3",
"880dd8a94ff749d7af52d78c700ccaa4"
],
"tagIds": [],
"states": [
"is-physical"
],
"customFields": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": {
"custom_egate_hsCode": "84249080",
"custom_egate_packCnt": 1.0,
"custom_egate_stockCntMin": 1.0
},
"25395a9610c74c1d88408f0cecb48e2a": []
},
"name": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "DOS.NADELSET97262",
"25395a9610c74c1d88408f0cecb48e2a": "LOC 97262"
},
"description": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "Nadelauswahlsatz",
"25395a9610c74c1d88408f0cecb48e2a": "Stainless steel dispense"
},
"metaTitle": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": null,
"25395a9610c74c1d88408f0cecb48e2a": null
},
"metaDescription": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": null,
"25395a9610c74c1d88408f0cecb48e2a": null
},
"customSearchKeywords": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": [
"DOS.NADELSET97262",
"DOSNADELSET97262",
"DOS-NADELSET97262",
"DOS NADELSET97262",
"DOS.NADELSET 97262",
"DOSNADELSET 97262",
"DOS.NADELSET-97262",
"DOS.NADELSET.97262",
"DOS-NADELSET 97262",
"DOS NADELSET 97262",
"LOC 97262 Dosiernadel Auswahlsatz",
"LOC-97262-Dosiernadel-Auswahlsatz",
"LOC.97262.Dosiernadel.Auswahlsatz",
"LOC97262DosiernadelAuswahlsatz",
"Nadelauswahlsatz",
"LOCTITE",
"Stainless steel dispense"
],
"25395a9610c74c1d88408f0cecb48e2a": [
"DOS.NADELSET97262",
"DOSNADELSET97262",
"DOS-NADELSET97262",
"DOS NADELSET97262",
"DOS.NADELSET 97262",
"DOSNADELSET 97262",
"DOS.NADELSET-97262",
"DOS.NADELSET.97262",
"DOS-NADELSET 97262",
"DOS NADELSET 97262",
"LOC 97262 Dosiernadel Auswahlsatz",
"LOC-97262-Dosiernadel-Auswahlsatz",
"LOC.97262.Dosiernadel.Auswahlsatz",
"LOC97262DosiernadelAuswahlsatz",
"Nadelauswahlsatz",
"LOCTITE",
"Stainless steel dispense"
]
},
"cheapest_price_ruledefault_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross": 43.3993,
"cheapest_price_ruledefault_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_net": 36.47,
"swagDynamicAccessRules": [
{
"id": null,
"_count": 1
}
],
"parent": {
"swagDynamicAccessRules": [
{
"id": null,
"_count": 1
}
]
},
"warehouseGroups": [
{
"id": null,
"_count": 0
}
],
"completion": [
"10042687",
"079340972629",
"218288",
"dos.nadelset97262",
"loc",
"97262",
"loc 97262"
]
},
"fields": {
"displayGroup": [
"d6712b8835e188489311ef317545f0ec"
]
},
"sort": [
"dos.nadelset97262",
"5a426082d4bc4cf5a24911d52321af9c"
]
},
{
"_index": "stage2_product_1726559133",
"_id": "1ea4c1269ae84f959ebff9a891e9b52e",
"_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": "1ea4c1269ae84f959ebff9a891e9b52e",
"autoIncrement": 86174.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": 17,
"productNumber": "10049105",
"ean": null,
"displayGroup": "f43e577571bdaebc1c9c96d53be3a180",
"sales": 102,
"stock": 17,
"weight": 0.25,
"width": 0.0,
"length": 0.0,
"height": 0.0,
"manufacturerId": "b918b8d0183a4c7abccbce3c88f10ecd",
"manufacturerNumber": null,
"releaseDate": null,
"createdAt": "2023-09-03T21:47:16+00:00",
"categoryTree": [
"40e4ef9fa7fe4556bd78223ad7b7e6a5",
"ea8e913e7da94c08981968ffd11cdef0",
"bd9cdd9068154f85baede69db3cacf1d",
"aae3d881fa954c8fb78960253d368825"
],
"categoriesRo": [
{
"id": "40e4ef9fa7fe4556bd78223ad7b7e6a5",
"_count": 1
},
{
"id": "ea8e913e7da94c08981968ffd11cdef0",
"_count": 1
},
{
"id": "bd9cdd9068154f85baede69db3cacf1d",
"_count": 1
},
{
"id": "aae3d881fa954c8fb78960253d368825",
"_count": 1
}
],
"taxId": "3c8ac16c569743c28b8c384211844ab1",
"tags": [],
"parentId": null,
"coverId": null,
"childCount": 0,
"categories": [
{
"id": "aae3d881fa954c8fb78960253d368825",
"_count": 1,
"name": {
"25395a9610c74c1d88408f0cecb48e2a": "Dosing devices",
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "Dosierger\u00e4te"
}
}
],
"manufacturer": {
"id": "b918b8d0183a4c7abccbce3c88f10ecd",
"name": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "GRAC"
},
"_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": [
"aae3d881fa954c8fb78960253d368825"
],
"optionIds": [],
"propertyIds": [
"0a8d837c8fc0491d9da7e44fd3ec89a3",
"880dd8a94ff749d7af52d78c700ccaa4"
],
"tagIds": [],
"states": [
"is-physical"
],
"customFields": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": {
"custom_egate_hsCode": "84249080",
"custom_egate_packCnt": 1.0,
"custom_egate_stockCntMin": 20.0
}
},
"name": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "GRACO AAM413",
"25395a9610c74c1d88408f0cecb48e2a": "AAM413"
},
"description": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": "Spritzd\u00fcse AA Serie",
"25395a9610c74c1d88408f0cecb48e2a": "nozzle"
},
"metaTitle": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": null,
"25395a9610c74c1d88408f0cecb48e2a": null
},
"metaDescription": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": null,
"25395a9610c74c1d88408f0cecb48e2a": null
},
"customSearchKeywords": {
"2fbb5fe2e29a4d70aa5854ce7ce3e20b": [
"GRACO AAM413",
"GRACO-AAM413",
"GRACO.AAM413",
"GRACOAAM413",
"GRACO AAM 413",
"GRACO-AAM-413",
"GRACO.AAM.413",
"Spritzd\u00fcse AA Serie",
"Graco",
"nozzle"
],
"25395a9610c74c1d88408f0cecb48e2a": [
"GRACO AAM413",
"GRACO-AAM413",
"GRACO.AAM413",
"GRACOAAM413",
"GRACO AAM 413",
"GRACO-AAM-413",
"GRACO.AAM.413",
"Spritzd\u00fcse AA Serie",
"Graco",
"nozzle"
]
},
"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": [
"10049105",
"graco",
"aam413",
"graco aam413"
]
},
"fields": {
"displayGroup": [
"f43e577571bdaebc1c9c96d53be3a180"
]
},
"sort": [
"graco aam413",
"1ea4c1269ae84f959ebff9a891e9b52e"
]
}
]
},
"aggregations": {
"total-count": {
"value": 2
}
}
}
Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher:search
|
| 2 |
3.58 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":"aae3d881fa954c8fb78960253d368825"}}}},{"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
|