Debug
es raw query
{
"_source": [
"_id"
],
"aggregations": {
"brand": {
"terms": {
"field": "brand.untouched",
"size": 1000
}
},
"categories": {
"terms": {
"field": "categories_parents_catalog_codes",
"size": 1000
}
},
"continuum_price": {
"range": {
"field": "lowest_public_price_with_vat",
"keyed": true,
"ranges": [
{
"gte": 0
}
]
}
},
"continuum_price_stats": {
"aggs": {
"continuum_price_stats": {
"stats": {
"field": "lowest_public_price_with_vat"
}
}
},
"filter": {
"match_all": {}
}
},
"continuum_price_stats_with_include_self_filter": {
"aggs": {
"continuum_price_stats": {
"stats": {
"field": "lowest_public_price_with_vat"
}
}
},
"filter": {
"match_all": {}
}
},
"offers": {
"terms": {
"field": "offers.untouched",
"size": 1000
}
},
"stores": {
"terms": {
"field": "categories_parents_catalog_codes",
"size": 1000
}
}
},
"from": 0,
"query": {
"function_score": {
"functions": [
{
"field_value_factor": {
"factor": 2,
"field": "availability",
"modifier": "square"
}
},
{
"gauss": {
"first_published_at": {
"decay": 0.5,
"offset": "30d",
"scale": "90d"
}
}
},
{
"field_value_factor": {
"factor": 1,
"field": "availability"
},
"filter": {
"term": {
"discount": 1
}
}
},
{
"field_value_factor": {
"factor": 1,
"field": "sales_stat.ct_last_month",
"modifier": "log1p"
}
},
{
"field_value_factor": {
"factor": 0.75,
"field": "sales_stat.ct_last_three_months",
"modifier": "log1p"
}
},
{
"field_value_factor": {
"factor": 0.5,
"field": "sales_stat.ct_last_year",
"modifier": "log1p"
}
},
{
"field_value_factor": {
"factor": 0.3,
"field": "comments_stat.ct",
"modifier": "log1p"
}
},
{
"field_value_factor": {
"factor": 0.1,
"field": "comments_stat.avg_note",
"modifier": "log1p"
}
}
],
"query": {
"bool": {
"filter": [
{
"term": {
"categories_parents_catalog_codes": "4bf0f7deefa77878491505"
}
},
{
"term": {
"brand.untouched": "GOETTGENS SA"
}
}
],
"must": {
"match_all": {}
}
}
},
"score_mode": "sum"
}
},
"size": 40
}
es raw result
{
"_shards": {
"failed": 0,
"successful": 5,
"total": 5
},
"aggregations": {
"brand": {
"buckets": [
{
"doc_count": 17,
"key": "GOETTGENS SA"
}
],
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0
},
"categories": {
"buckets": [
{
"doc_count": 17,
"key": "4bf0f7deefa77878491505"
},
{
"doc_count": 17,
"key": "root"
},
{
"doc_count": 12,
"key": "4b84138790e87948447226"
},
{
"doc_count": 10,
"key": "5208e46d8f308648384599"
},
{
"doc_count": 4,
"key": "id_b_b09_b09a5"
},
{
"doc_count": 4,
"key": "id_b_b09_b09a5_245"
},
{
"doc_count": 2,
"key": "58736d52850e6399573241"
},
{
"doc_count": 2,
"key": "store_root"
},
{
"doc_count": 1,
"key": "4bf0f80cb4264655320711"
},
{
"doc_count": 1,
"key": "508e9a0c1a4e1916066036"
}
],
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0
},
"continuum_price": {
"buckets": {
"*-*": {
"doc_count": 17
}
}
},
"continuum_price_stats": {
"continuum_price_stats": {
"avg": 49.59458823529411,
"count": 17,
"max": 105.132,
"min": 6.168,
"sum": 843.1079999999998
},
"doc_count": 17
},
"continuum_price_stats_with_include_self_filter": {
"continuum_price_stats": {
"avg": 49.59458823529411,
"count": 17,
"max": 105.132,
"min": 6.168,
"sum": 843.1079999999998
},
"doc_count": 17
},
"offers": {
"buckets": [
{
"doc_count": 1,
"key": "Op\u00e9 sp\u00e9ciale B to B"
}
],
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0
},
"stores": {
"buckets": [
{
"doc_count": 17,
"key": "4bf0f7deefa77878491505"
},
{
"doc_count": 17,
"key": "root"
},
{
"doc_count": 12,
"key": "4b84138790e87948447226"
},
{
"doc_count": 10,
"key": "5208e46d8f308648384599"
},
{
"doc_count": 4,
"key": "id_b_b09_b09a5"
},
{
"doc_count": 4,
"key": "id_b_b09_b09a5_245"
},
{
"doc_count": 2,
"key": "58736d52850e6399573241"
},
{
"doc_count": 2,
"key": "store_root"
},
{
"doc_count": 1,
"key": "4bf0f80cb4264655320711"
},
{
"doc_count": 1,
"key": "508e9a0c1a4e1916066036"
}
],
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0
}
},
"hits": {
"hits": [
{
"_id": "1836",
"_index": "catalog_2023_02",
"_score": 21.93703,
"_source": {},
"_type": "product"
},
{
"_id": "1835",
"_index": "catalog_2023_02",
"_score": 21.438711,
"_source": {},
"_type": "product"
},
{
"_id": "47217",
"_index": "catalog_2023_02",
"_score": 21.103926,
"_source": {},
"_type": "product"
},
{
"_id": "28197",
"_index": "catalog_2023_02",
"_score": 20.74588,
"_source": {},
"_type": "product"
},
{
"_id": "31547",
"_index": "catalog_2023_02",
"_score": 19.399742,
"_source": {},
"_type": "product"
},
{
"_id": "31548",
"_index": "catalog_2023_02",
"_score": 18.0,
"_source": {},
"_type": "product"
},
{
"_id": "1828",
"_index": "catalog_2023_02",
"_score": 17.812914,
"_source": {},
"_type": "product"
},
{
"_id": "31550",
"_index": "catalog_2023_02",
"_score": 17.78675,
"_source": {},
"_type": "product"
},
{
"_id": "1829",
"_index": "catalog_2023_02",
"_score": 17.176092,
"_source": {},
"_type": "product"
},
{
"_id": "1825",
"_index": "catalog_2023_02",
"_score": 17.07714,
"_source": {},
"_type": "product"
},
{
"_id": "1831",
"_index": "catalog_2023_02",
"_score": 16.892094,
"_source": {},
"_type": "product"
},
{
"_id": "1833",
"_index": "catalog_2023_02",
"_score": 16.676693,
"_source": {},
"_type": "product"
},
{
"_id": "1834",
"_index": "catalog_2023_02",
"_score": 16.65801,
"_source": {},
"_type": "product"
},
{
"_id": "1827",
"_index": "catalog_2023_02",
"_score": 16.640978,
"_source": {},
"_type": "product"
},
{
"_id": "1826",
"_index": "catalog_2023_02",
"_score": 16.591064,
"_source": {},
"_type": "product"
},
{
"_id": "1824",
"_index": "catalog_2023_02",
"_score": 16.176092,
"_source": {},
"_type": "product"
},
{
"_id": "1832",
"_index": "catalog_2023_02",
"_score": 16.176092,
"_source": {},
"_type": "product"
}
],
"max_score": 21.93703,
"total": 17
},
"timed_out": false,
"took": 3
}
flattened ui facets
[
{
"buckets": [
{
"doc_count": 17,
"key": "4bf0f7deefa77878491505"
},
{
"doc_count": 17,
"key": "root"
},
{
"doc_count": 12,
"key": "4b84138790e87948447226"
},
{
"doc_count": 10,
"key": "5208e46d8f308648384599"
},
{
"doc_count": 4,
"key": "id_b_b09_b09a5"
},
{
"doc_count": 4,
"key": "id_b_b09_b09a5_245"
},
{
"doc_count": 2,
"key": "58736d52850e6399573241"
},
{
"doc_count": 2,
"key": "store_root"
},
{
"doc_count": 1,
"key": "4bf0f80cb4264655320711"
},
{
"doc_count": 1,
"key": "508e9a0c1a4e1916066036"
}
],
"name": "categories",
"unit": null
},
{
"buckets": [
{
"continuum_price_stats": {
"avg": 49.59458823529411,
"count": 17,
"max": 105.132,
"min": 6.168,
"sum": 843.1079999999998
},
"doc_count": 17
}
],
"name": "continuum_price_stats",
"unit": null
},
{
"buckets": [
{
"doc_count": 17,
"key": "GOETTGENS SA"
}
],
"name": "brand",
"unit": null
},
{
"buckets": [
{
"continuum_price_stats": {
"avg": 49.59458823529411,
"count": 17,
"max": 105.132,
"min": 6.168,
"sum": 843.1079999999998
},
"doc_count": 17
}
],
"name": "continuum_price_stats_with_include_self_filter",
"unit": null
},
{
"buckets": [
{
"doc_count": 1,
"key": "Op\u00e9 sp\u00e9ciale B to B"
}
],
"name": "offers",
"unit": null
},
{
"buckets": [
{
"continuum_price_stats": {
"avg": 49.59458823529411,
"count": 17,
"max": 105.132,
"min": 6.168,
"sum": 843.1079999999998
},
"doc_count": 17
},
{
"continuum_price_stats": {
"avg": 49.59458823529411,
"count": 17,
"max": 105.132,
"min": 6.168,
"sum": 843.1079999999998
},
"doc_count": 17
}
],
"name": "continuum_price",
"unit": null
},
{
"buckets": [
{
"doc_count": 17,
"key": "4bf0f7deefa77878491505"
},
{
"doc_count": 17,
"key": "root"
},
{
"doc_count": 12,
"key": "4b84138790e87948447226"
},
{
"doc_count": 10,
"key": "5208e46d8f308648384599"
},
{
"doc_count": 4,
"key": "id_b_b09_b09a5"
},
{
"doc_count": 4,
"key": "id_b_b09_b09a5_245"
},
{
"doc_count": 2,
"key": "58736d52850e6399573241"
},
{
"doc_count": 2,
"key": "store_root"
},
{
"doc_count": 1,
"key": "4bf0f80cb4264655320711"
},
{
"doc_count": 1,
"key": "508e9a0c1a4e1916066036"
}
],
"name": "stores",
"unit": null
}
]
flattened suggestions
[]