Elasticsearch Search Requests
| Destination | Payload | Result |
|---|---|---|
| Http://search:9200 |
{
"query": {
"query": {
"bool": {
"must": [
{
"match_all": {}
},
{
"match": {
"type": "product_abstract"
}
},
{
"match": {
"store": "DE"
}
},
{
"match": {
"locale": "en_US"
}
},
{
"match": {
"is-active": true
}
},
{
"bool": {
"should": [
{
"range": {
"active-from": {
"lte": "now"
}
}
},
{
"bool": {
"must_not": [
{
"exists": {
"field": "active-from"
}
}
]
}
}
]
}
},
{
"bool": {
"should": [
{
"range": {
"active-to": {
"gte": "now"
}
}
},
{
"bool": {
"must_not": [
{
"exists": {
"field": "active-to"
}
}
]
}
}
]
}
}
],
"filter": [
{
"nested": {
"query": {
"term": {
"integer-facet.facet-name": {
"value": "price-DEFAULT-EUR-GROSS_MODE",
"boost": 1
}
}
},
"path": "integer-facet"
}
},
{
"term": {
"category.all-parents": {
"value": "4",
"boost": 1
}
}
}
]
}
},
"suggest": {
"text": ""
},
"_source": [
"search-result-data"
],
"sort": [
{
"integer-sort.category:4": {
"order": "ASC",
"mode": "min",
"unmapped_type": "integer"
}
}
],
"from": 24,
"size": 12,
"aggs": {
"category.all-parents.category": {
"terms": {
"field": "category.all-parents",
"size": 1000
}
},
"global-category": {
"global": {},
"aggs": {
"filter": {
"filter": {
"bool": {
"must": [
{
"match_all": {}
},
{
"match": {
"type": "product_abstract"
}
},
{
"match": {
"store": "DE"
}
},
{
"match": {
"locale": "en_US"
}
},
{
"match": {
"is-active": true
}
},
{
"bool": {
"should": [
{
"range": {
"active-from": {
"lte": "now"
}
}
},
{
"bool": {
"must_not": [
{
"exists": {
"field": "active-from"
}
}
]
}
}
]
}
},
{
"bool": {
"should": [
{
"range": {
"active-to": {
"gte": "now"
}
}
},
{
"bool": {
"must_not": [
{
"exists": {
"field": "active-to"
}
}
]
}
}
]
}
}
],
"filter": [
{
"nested": {
"query": {
"term": {
"integer-facet.facet-name": {
"value": "price-DEFAULT-EUR-GROSS_MODE",
"boost": 1
}
}
},
"path": "integer-facet"
}
}
]
}
},
"aggs": {
"category.all-parents.category": {
"terms": {
"field": "category.all-parents",
"size": 1000
}
}
}
}
}
},
"integer-facet": {
"nested": {
"path": "integer-facet"
},
"aggs": {
"integer-facet-name": {
"terms": {
"field": "integer-facet.facet-name",
"size": 10
},
"aggs": {
"integer-facet-stats": {
"stats": {
"field": "integer-facet.facet-value"
}
}
}
}
}
},
"string-facet": {
"nested": {
"path": "string-facet"
},
"aggs": {
"string-facet-name": {
"terms": {
"field": "string-facet.facet-name",
"size": 10
},
"aggs": {
"string-facet-value": {
"terms": {
"field": "string-facet.facet-value",
"size": 10
}
}
}
}
}
}
}
},
"parameters": {
"page": "3",
"category": 4
}
}
|
{
"facets": {
"category": {},
"rating": {},
"label": {},
"farbe": {},
"material": {},
"brand": {},
"merchant_name": {}
},
"sort": {},
"pagination": {},
"products": [
{
"images": [
{
"fk_product_image_set": 364,
"id_product_image": 1262,
"alt_text_small": "",
"product_image_key": "product_image_1262",
"updated_at": "2025-12-02 09:55:16.000000",
"external_url_small": "https:\/\/d2s0ynfc62ej12.cloudfront.net\/image\/S016289E?$normal$",
"external_url_large": "https:\/\/d2s0ynfc62ej12.cloudfront.net\/image\/S016289E",
"created_at": "2025-12-02 09:55:16.000000",
"id_product_image_set_to_product_image": 1262,
"sort_order": 1,
"alt_text_large": "",
"fk_product_image": 1262
}
],
"id_product_labels": [],
"price": 394,
"abstract_name": "Schneider multi-color ballpoint pen 7115 XB 0.6 mm, metal retractable ballpoint pen",
"id_product_abstract": 189,
"type": "product_abstract",
"add_to_cart_sku": "424464",
"prices": {
"DEFAULT": 394
},
"abstract_sku": "M23460",
"url": "\/en\/schneider-mehrfarbkugelschreiber-7115-xb-0-6mm-druckmechanik-metall-M23460"
},
{
"images": [
{
"fk_product_image_set": 274,
"id_product_image": 956,
"alt_text_small": "",
"product_image_key": "product_image_956",
"updated_at": "2025-12-02 09:55:14.000000",
"external_url_small": "https:\/\/d2s0ynfc62ej12.cloudfront.net\/image\/A007100O?$normal$",
"external_url_large": "https:\/\/d2s0ynfc62ej12.cloudfront.net\/image\/A007100O",
"created_at": "2025-12-02 09:55:14.000000",
"id_product_image_set_to_product_image": 956,
"sort_order": 1,
"alt_text_large": "",
"fk_product_image": 956
},
{
"fk_product_image_set": 274,
"id_product_image": 958,
"alt_text_small": "",
"product_image_key": "product_image_958",
"updated_at": "2025-12-02 09:55:14.000000",
"external_url_small": "https:\/\/d2s0ynfc62ej12.cloudfront.net\/image\/A007100P?$normal$",
"external_url_large": "https:\/\/d2s0ynfc62ej12.cloudfront.net\/image\/A007100P",
"created_at": "2025-12-02 09:55:14.000000",
"id_product_image_set_to_product_image": 958,
"sort_order": 3,
"alt_text_large": "",
"fk_product_image": 958
}
],
"id_product_labels": [
4,
5
],
"price": 2956,
"abstract_name": "Parker ballpoint pen URBAN Premium M refill blue",
"rating": 4.25,
"id_product_abstract": 140,
"review_count": 4,
"type": "product_abstract",
"add_to_cart_sku": "421511",
"prices": {
"DEFAULT": 2956,
"ORIGINAL": 3284
},
"abstract_sku": "M21759",
"url": "\/en\/parker-kugelschreiber-urban-premium-m-mine-blau-M21759"
}
],
"spellingSuggestion": null,
"categoryTreeFilter": {
"0": {},
"1": {},
"2": {},
"3": {},
"4": {},
"5": {}
}
}
|