Query Metrics
58.00 ms
Query Time
1
Node(s)
19
Indices
Queries
#▲ | Execution Time | Info |
---|---|---|
1 | 56.40 ms |
Request:
{"index":"sw_product","search_type":"query_then_fetch","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":"3aaa0b8abe954c09892d40b581d29df3"}}]}}}},{"term":{"active":true}}]}},{"nested":{"path":"categoriesRo","query":{"term":{"categoriesRo.id":"c23c16af83ca568dbb1023337f280b90"}}}},{"bool":{"must_not":[{"bool":{"must_not":[{"exists":{"field":"displayGroup"}}]}}]}}]}}]}},"sort":[{"sales":{"order":"DESC"}},{"id":{"order":"ASC"}}],"aggregations":{"total-count":{"cardinality":{"field":"displayGroup"}}},"from":0,"size":30,"collapse":{"field":"displayGroup"},"timeout":"5s"}} |
2 | 1.68 ms |
Request:
{"index":"sw_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":"3aaa0b8abe954c09892d40b581d29df3"}}]}}}},{"term":{"active":true}}]}},{"nested":{"path":"categoriesRo","query":{"term":{"categoriesRo.id":"c23c16af83ca568dbb1023337f280b90"}}}},{"bool":{"must_not":[{"bool":{"must_not":[{"exists":{"field":"displayGroup"}}]}}]}}]}}]}},"aggregations":{"manufacturer":{"terms":{"field":"manufacturerId","size":10000}},"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_rule7f7788cf3af2461baf0501b1d3fa3467_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule84eba0cd9f104132abf16ec7cab16db3_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_ruled6d70f6002614a40953d9876e8009c60_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule49847b689f7f42c281e8fab5fadaf4cb_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rulecc039c828d144b038fa68a61ff71e438_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_ruledefault_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","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}}}},"is-in-stock-filter":{"filter":{"range":{"stock":{"gt":0}}},"aggregations":{"is-in-stock":{"max":{"field":"stock"}}}},"active-filter":{"filter":{"term":{"isCloseout":true}},"aggregations":{"active":{"max":{"field":"isCloseout"}}}}},"size":0,"timeout":"5s"},"search_type":"query_then_fetch"} |
Cluster Status
{ "cluster_name": "es-menzel", "status": "green", "timed_out": false, "number_of_nodes": 1, "number_of_data_nodes": 1, "active_primary_shards": 51, "active_shards": 51, "relocating_shards": 0, "initializing_shards": 0, "unassigned_shards": 0, "delayed_unassigned_shards": 0, "number_of_pending_tasks": 0, "number_of_in_flight_fetch": 0, "task_max_waiting_in_queue_millis": 0, "active_shards_percent_as_number": 100.0 }
Indices
Name▲ | Status | Replication (pri, rep) | Doc Count |
---|---|---|---|
sw-admin-product-stream-listing_1742535381 | open | 3, 0 | 19 |
sw-admin-manufacturer-listing_1742535364 | open | 3, 0 | 108 |
sw-admin-customer-group-listing_1742535361 | open | 3, 0 | 1 |
sw_product_1742535620 | open | 1, 0 | 593997 |
sw_product_1743509857 | open | 1, 0 | 151788 |
sw-admin-customer-listing_1742535359 | open | 3, 0 | 73340 |
sw-admin-payment-method-listing_1742535369 | open | 3, 0 | 65 |
sw-admin-landing-page-listing_1742535362 | open | 3, 0 | 7 |
sw-admin-shipping-method-listing_1742535376 | open | 3, 0 | 4 |
sw-admin-cms-page-listing_1742535357 | open | 3, 0 | 23 |
.geoip_databases | open | 1, 0 | 41 |
sw-admin-property-group-listing_1742535373 | open | 3, 0 | 11 |
sw-admin-order-listing_1742535367 | open | 3, 0 | 41136 |
sw-admin-sales-channel-listing_1742535375 | open | 3, 0 | 1 |
sw-admin-promotion-listing_1742535372 | open | 3, 0 | 1 |
sw-admin-category-listing_1742535377 | open | 3, 0 | 212 |
sw-admin-media-listing_1742535365 | open | 3, 0 | 64912 |
sw-admin-newsletter-recipient-listing_1742535379 | open | 3, 0 | 26642 |
sw-admin-product-listing_1742535370 | open | 3, 0 | 10010 |