Elasticsearch Search Requests
| Destination | Payload | Result |
|---|---|---|
| Http://search:9200 |
{
"query": {
"query": {
"bool": {
"must": [
{
"multi_match": {
"fields": [
"full-text",
"full-text-boosted^3"
],
"query": "Clairefontaine",
"type": "cross_fields"
}
},
{
"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"
}
}
]
}
},
"suggest": {
"text": "Clairefontaine",
"spelling-suggestion": {
"term": {
"field": "suggestion-terms",
"size": 1
}
}
},
"_source": [
"search-result-data"
],
"from": 12,
"size": 12,
"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",
"q": "Clairefontaine"
}
}
|
{
"facets": {
"category": {},
"rating": {},
"label": {},
"farbe": {},
"material": {},
"brand": {},
"merchant_name": {}
},
"sort": {},
"pagination": {},
"products": [
{
"images": [
{
"fk_product_image_set": 254,
"id_product_image": 932,
"alt_text_small": "",
"product_image_key": "product_image_932",
"updated_at": "2025-12-02 09:55:14.000000",
"external_url_small": "https:\/\/d2s0ynfc62ej12.cloudfront.net\/image\/A007761W?$normal$",
"external_url_large": "https:\/\/d2s0ynfc62ej12.cloudfront.net\/image\/A007761W",
"created_at": "2025-12-02 09:55:14.000000",
"id_product_image_set_to_product_image": 932,
"sort_order": 1,
"alt_text_large": "",
"fk_product_image": 932
}
],
"id_product_labels": [],
"price": 1004,
"abstract_name": "Clairefontaine Meetingblock 328000C DIN A4, 80 sheets, color sorted",
"id_product_abstract": 130,
"type": "product_abstract",
"add_to_cart_sku": "421432",
"prices": {
"DEFAULT": 1004
},
"abstract_sku": "M21714",
"url": "\/en\/clairefontaine-meetingblock-328000c-din-a4-80blatt-farbig-sortiert-M21714"
},
{
"images": [
{
"fk_product_image_set": 260,
"id_product_image": 940,
"alt_text_small": "",
"product_image_key": "product_image_940",
"updated_at": "2025-12-02 09:55:14.000000",
"external_url_small": "https:\/\/d2s0ynfc62ej12.cloudfront.net\/image\/A007762C?$normal$",
"external_url_large": "https:\/\/d2s0ynfc62ej12.cloudfront.net\/image\/A007762C",
"created_at": "2025-12-02 09:55:14.000000",
"id_product_image_set_to_product_image": 940,
"sort_order": 1,
"alt_text_large": "",
"fk_product_image": 940
}
],
"id_product_labels": [],
"price": 245,
"abstract_name": "Clairefontaine Spiralblock 328725C DIN 17x22 mm, 50 sheets, checkered",
"id_product_abstract": 133,
"type": "product_abstract",
"add_to_cart_sku": "421436",
"prices": {
"DEFAULT": 245
},
"abstract_sku": "M21717",
"url": "\/en\/clairefontaine-spiralblock-328725c-17x22mm-50blatt-kariert-M21717"
},
{
"images": [
{
"fk_product_image_set": 246,
"id_product_image": 912,
"alt_text_small": "",
"product_image_key": "product_image_912",
"updated_at": "2025-12-02 09:55:14.000000",
"external_url_small": "https:\/\/d2s0ynfc62ej12.cloudfront.net\/image\/A007760Z?$normal$",
"external_url_large": "https:\/\/d2s0ynfc62ej12.cloudfront.net\/image\/A007760Z",
"created_at": "2025-12-02 09:55:14.000000",
"id_product_image_set_to_product_image": 912,
"sort_order": 1,
"alt_text_large": "",
"fk_product_image": 912
},
{
"fk_product_image_set": 246,
"id_product_image": 914,
"alt_text_small": "",
"product_image_key": "product_image_914",
"updated_at": "2025-12-02 09:55:14.000000",
"external_url_small": "https:\/\/d2s0ynfc62ej12.cloudfront.net\/image\/A007761B?$normal$",
"external_url_large": "https:\/\/d2s0ynfc62ej12.cloudfront.net\/image\/A007761B",
"created_at": "2025-12-02 09:55:14.000000",
"id_product_image_set_to_product_image": 914,
"sort_order": 3,
"alt_text_large": "",
"fk_product_image": 914
}
],
"id_product_labels": [],
"price": 1920,
"abstract_name": "Clairefontaine color laser paper DCP DIN 160 g, ivory, 250 sheets\/pack.",
"id_product_abstract": 126,
"type": "product_abstract",
"add_to_cart_sku": "655941",
"prices": {
"DEFAULT": 1920
},
"abstract_sku": "M21705",
"url": "\/en\/clairefontaine-farblaserpapier-dcp-din-160g-el-250-bl-pack-M21705"
}
],
"spellingSuggestion": null,
"categoryTreeFilter": {
"0": {},
"1": {},
"2": {},
"3": {},
"4": {},
"5": {}
}
}
|
| Http://search:9200 |
{
"query": {
"query": {
"bool": {
"must": [
{
"multi_match": {
"fields": [
"full-text",
"full-text-boosted^3"
],
"query": "Clairefontaine",
"type": "cross_fields"
}
},
{
"match": {
"type": "cms_page"
}
},
{
"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"
}
}
]
}
}
]
}
}
]
}
},
"_source": [
"search-result-data"
]
},
"parameters": []
}
|
{}
|