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": "26",
"boost": 1
}
}
}
]
}
},
"suggest": {
"text": ""
},
"_source": [
"search-result-data"
],
"sort": [
{
"integer-sort.category:26": {
"order": "ASC",
"mode": "min",
"unmapped_type": "integer"
}
}
],
"from": 12,
"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": "2",
"category": 26
}
}
|
{
"facets": {
"category": {},
"rating": {},
"label": {},
"farbe": {},
"material": {},
"brand": {},
"merchant_name": {}
},
"sort": {},
"pagination": {},
"products": [
{
"images": [
{
"fk_product_image_set": 112,
"id_product_image": 434,
"alt_text_small": "",
"product_image_key": "product_image_434",
"updated_at": "2025-12-02 09:55:11.000000",
"external_url_small": "https:\/\/d2s0ynfc62ej12.cloudfront.net\/image\/AA00111092II-01?$normal$",
"external_url_large": "https:\/\/d2s0ynfc62ej12.cloudfront.net\/image\/AA00111092II-01",
"created_at": "2025-12-02 09:55:11.000000",
"id_product_image_set_to_product_image": 434,
"sort_order": 1,
"alt_text_large": "",
"fk_product_image": 434
},
{
"fk_product_image_set": 112,
"id_product_image": 436,
"alt_text_small": "",
"product_image_key": "product_image_436",
"updated_at": "2025-12-02 09:55:11.000000",
"external_url_small": "https:\/\/d2s0ynfc62ej12.cloudfront.net\/image\/AA00111092II-02?$normal$",
"external_url_large": "https:\/\/d2s0ynfc62ej12.cloudfront.net\/image\/AA00111092II-02",
"created_at": "2025-12-02 09:55:11.000000",
"id_product_image_set_to_product_image": 436,
"sort_order": 3,
"alt_text_large": "",
"fk_product_image": 436
},
{
"fk_product_image_set": 112,
"id_product_image": 438,
"alt_text_small": "",
"product_image_key": "product_image_438",
"updated_at": "2025-12-02 09:55:11.000000",
"external_url_small": "https:\/\/d2s0ynfc62ej12.cloudfront.net\/image\/AA00111092II-03?$normal$",
"external_url_large": "https:\/\/d2s0ynfc62ej12.cloudfront.net\/image\/AA00111092II-03",
"created_at": "2025-12-02 09:55:11.000000",
"id_product_image_set_to_product_image": 438,
"sort_order": 5,
"alt_text_large": "",
"fk_product_image": 438
},
{
"fk_product_image_set": 112,
"id_product_image": 440,
"alt_text_small": "",
"product_image_key": "product_image_440",
"updated_at": "2025-12-02 09:55:11.000000",
"external_url_small": "https:\/\/d2s0ynfc62ej12.cloudfront.net\/image\/AA00111092II-04?$normal$",
"external_url_large": "https:\/\/d2s0ynfc62ej12.cloudfront.net\/image\/AA00111092II-04",
"created_at": "2025-12-02 09:55:11.000000",
"id_product_image_set_to_product_image": 440,
"sort_order": 7,
"alt_text_large": "",
"fk_product_image": 440
}
],
"id_product_labels": [],
"price": 6224,
"abstract_name": "magnetoplan\u00ae Flipchart JUNIOR SP - magnetic",
"id_product_abstract": 54,
"type": "product_abstract",
"add_to_cart_sku": "408104",
"prices": {
"DEFAULT": 6224
},
"abstract_sku": "M1031238",
"url": "\/en\/magnetoplan-flipchart-junior-sp-magnethaftend-M1031238"
}
],
"spellingSuggestion": null,
"categoryTreeFilter": {
"0": {},
"1": {},
"2": {},
"3": {},
"4": {},
"5": {}
}
}
|