Query Metrics
9.00 ms
Query Time
1
Node(s)
34
Indices
Queries
| #▲ | Execution Time | Info |
|---|---|---|
| 1 | 5.88 ms |
Request:
{"index":"sw2_stage_product","search_type":"query_then_fetch","track_total_hits":true,"body":{"query":{"bool":{"filter":[{"bool":{"must":[{"bool":{"must":[{"term":{"active":true}},{"range":{"visibility_018d17682b2279e199fd7eae60dfec83":{"gte":30}}}]}},{"term":{"categoryTree":"cb98996ee1965a99be81357615fd873f"}},{"exists":{"field":"displayGroup"}}]}}]}},"sort":[{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b":{"order":"ASC"}},{"id":{"order":"ASC"}}],"aggregations":{"total-count":{"cardinality":{"field":"displayGroup"}}},"from":0,"size":24,"collapse":{"field":"displayGroup"},"timeout":"5s"}}
|
| 2 | 3.80 ms |
Request:
{"index":"sw2_stage_product","track_total_hits":false,"body":{"query":{"bool":{"filter":[{"bool":{"must":[{"bool":{"must":[{"term":{"active":true}},{"range":{"visibility_018d17682b2279e199fd7eae60dfec83":{"gte":30}}}]}},{"term":{"categoryTree":"cb98996ee1965a99be81357615fd873f"}},{"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_rule018d0df7b8aa7231bb4623e0ff288738_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule018d0df7b8b773f482ea84c101f20f31_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule01934b47f3a771308671b66032a0c421_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule0193251275d27e44a709334f5a6512e6_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}}}}},"size":0,"timeout":"5s"},"search_type":"query_then_fetch"}
|
Cluster Status
{
"cluster_name": "dd54516.kasserver.com",
"status": "yellow",
"timed_out": false,
"number_of_nodes": 1,
"number_of_data_nodes": 1,
"active_primary_shards": 100,
"active_shards": 100,
"relocating_shards": 0,
"initializing_shards": 0,
"unassigned_shards": 290,
"unassigned_primary_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": 25.641025641025638748260462307371199131011962890625
}
Indices
| Name▲ | Status | Replication (pri, rep) | Doc Count |
|---|---|---|---|
| sw2-admin-category-listing_1779904223 | open | 3, 3 | 724 |
| sw2-admin-order-listing_1779904221 | open | 3, 3 | 10422 |
| sw2-admin-newsletter-recipient-listing_1779904223 | open | 3, 3 | 132 |
| sw2-admin-payment-method-listing_1779904221 | open | 3, 3 | 25 |
| sw2-admin-promotion-listing_1779904221 | open | 3, 3 | 0 |
| sw2_stage-admin-shipping-method-listing_1779904703 | open | 3, 3 | 0 |
| sw2-admin-product-stream-listing_1779904223 | open | 3, 3 | 7 |
| sw2-admin-product-listing_1779904221 | open | 3, 3 | 37109 |
| sw2_stage-admin-manufacturer-listing_1779904700 | open | 3, 3 | 0 |
| sw2_stage-admin-payment-method-listing_1779904701 | open | 3, 3 | 0 |
| sw2_stage-admin-product-listing_1779904701 | open | 3, 3 | 0 |
| sw2-admin-shipping-method-listing_1779904222 | open | 3, 3 | 6 |
| sw2_stage-admin-customer-listing_1779904699 | open | 3, 3 | 0 |
| sw2_stage-admin-landing-page-listing_1779904700 | open | 3, 3 | 0 |
| sw2-admin-media-listing_1779904220 | open | 3, 3 | 44434 |
| sw2-admin-cms-page-listing_1779904219 | open | 3, 3 | 44 |
| sw2_stage_product_1779904693 | open | 1, 1 | 0 |
| sw2-admin-sales-channel-listing_1779904222 | open | 3, 3 | 13 |
| sw2_stage-admin-promotion-listing_1779904702 | open | 3, 3 | 0 |
| sw2_stage-admin-product-stream-listing_1779904704 | open | 3, 3 | 0 |
| sw2_stage-admin-order-listing_1779904701 | open | 3, 3 | 1 |
| sw2_product_1779904210 | open | 1, 1 | 639584 |
| sw2_stage-admin-media-listing_1779904700 | open | 3, 3 | 0 |
| sw2-admin-property-group-listing_1779904222 | open | 3, 3 | 33 |
| sw2-admin-customer-listing_1779904219 | open | 3, 3 | 10120 |
| sw2_stage-admin-newsletter-recipient-listing_1779904704 | open | 3, 3 | 0 |
| sw2-admin-customer-group-listing_1779904219 | open | 3, 3 | 4 |
| sw2_stage-admin-property-group-listing_1779904702 | open | 3, 3 | 0 |
| sw2-admin-landing-page-listing_1779904220 | open | 3, 3 | 0 |
| sw2_stage-admin-cms-page-listing_1779904699 | open | 3, 3 | 0 |
| sw2_stage-admin-sales-channel-listing_1779904702 | open | 3, 3 | 0 |
| sw2-admin-manufacturer-listing_1779904220 | open | 3, 3 | 13 |
| sw2_stage-admin-customer-group-listing_1779904699 | open | 3, 3 | 0 |
| sw2_stage-admin-category-listing_1779904703 | open | 3, 3 | 0 |