Debug
es raw query
{
"_source": [
"_id",
"catalog_code"
],
"aggregations": {
"brand": {
"terms": {
"field": "brand.untouched",
"size": 1000
}
},
"categories": {
"terms": {
"field": "categories_parents_catalog_codes",
"size": 1000
}
},
"charge": {
"aggs": {
"charge_nested": {
"aggs": {
"charge_nested_filtered": {
"aggs": {
"charge_reverse_nested": {
"aggs": {
"charge_reverse_nested_parent_filter": {
"filter": {
"match_all": {}
}
}
},
"reverse_nested": {}
},
"charge_unit": {
"terms": {
"field": "articles.characteristics.unit.untouched",
"size": 1
}
}
},
"terms": {
"field": "articles.characteristics.value.untouched",
"size": 1000
}
}
},
"filter": {
"term": {
"articles.characteristics.name.untouched": "Charge"
}
}
}
},
"nested": {
"path": "articles.characteristics"
}
},
"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_filtered": {
"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": {}
}
},
"delivery24h": {
"terms": {
"field": "is_delivery_24h",
"size": 1000
}
},
"diametre": {
"aggs": {
"diametre_nested": {
"aggs": {
"diametre_nested_filtered": {
"aggs": {
"diametre_reverse_nested": {
"aggs": {
"diametre_reverse_nested_parent_filter": {
"filter": {
"match_all": {}
}
}
},
"reverse_nested": {}
},
"diametre_unit": {
"terms": {
"field": "articles.characteristics.unit.untouched",
"size": 1
}
}
},
"terms": {
"field": "articles.characteristics.value.untouched",
"size": 1000
}
}
},
"filter": {
"term": {
"articles.characteristics.name.untouched": "Diam\u00e8tre"
}
}
}
},
"nested": {
"path": "articles.characteristics"
}
},
"longueur": {
"aggs": {
"longueur_nested": {
"aggs": {
"longueur_nested_filtered": {
"aggs": {
"longueur_reverse_nested": {
"aggs": {
"longueur_reverse_nested_parent_filter": {
"filter": {
"match_all": {}
}
}
},
"reverse_nested": {}
},
"longueur_unit": {
"terms": {
"field": "articles.characteristics.unit.untouched",
"size": 1
}
}
},
"terms": {
"field": "articles.characteristics.value.untouched",
"size": 1000
}
}
},
"filter": {
"term": {
"articles.characteristics.name.untouched": "Longueur"
}
}
}
},
"nested": {
"path": "articles.characteristics"
}
},
"nature-du-support": {
"aggs": {
"nature-du-support_nested": {
"aggs": {
"nature-du-support_nested_filtered": {
"aggs": {
"nature-du-support_reverse_nested": {
"aggs": {
"nature-du-support_reverse_nested_parent_filter": {
"filter": {
"match_all": {}
}
}
},
"reverse_nested": {}
},
"nature-du-support_unit": {
"terms": {
"field": "articles.characteristics.unit.untouched",
"size": 1
}
}
},
"terms": {
"field": "articles.characteristics.value.untouched",
"size": 1000
}
}
},
"filter": {
"term": {
"articles.characteristics.name.untouched": "Nature du support"
}
}
}
},
"nested": {
"path": "articles.characteristics"
}
},
"offers": {
"terms": {
"field": "offers.untouched",
"size": 1000
}
},
"type-de-cheville": {
"aggs": {
"type-de-cheville_nested": {
"aggs": {
"type-de-cheville_nested_filtered": {
"aggs": {
"type-de-cheville_reverse_nested": {
"aggs": {
"type-de-cheville_reverse_nested_parent_filter": {
"filter": {
"match_all": {}
}
}
},
"reverse_nested": {}
},
"type-de-cheville_unit": {
"terms": {
"field": "articles.characteristics.unit.untouched",
"size": 1
}
}
},
"terms": {
"field": "articles.characteristics.value.untouched",
"size": 1000
}
}
},
"filter": {
"term": {
"articles.characteristics.name.untouched": "Type de cheville"
}
}
}
},
"nested": {
"path": "articles.characteristics"
}
}
},
"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": "5b17d2f9b6cb2414812013"
}
}
],
"must": {
"match_all": {}
}
}
},
"score_mode": "sum"
}
},
"size": 40
}
es raw result
{
"_shards": {
"failed": 0,
"skipped": 0,
"successful": 5,
"total": 5
},
"aggregations": {
"brand": {
"buckets": [
{
"doc_count": 4,
"key": "ING FIXATIONS"
}
],
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0
},
"categories": {
"buckets": [
{
"doc_count": 4,
"key": "4bf0f7deefa77878491505"
},
{
"doc_count": 4,
"key": "573c8cf57c62f004942971"
},
{
"doc_count": 4,
"key": "5b17d2f9b6cb2414812013"
},
{
"doc_count": 4,
"key": "root"
}
],
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0
},
"charge": {
"charge_nested": {
"charge_nested_filtered": {
"buckets": [
{
"charge_reverse_nested": {
"charge_reverse_nested_parent_filter": {
"doc_count": 3
},
"doc_count": 3
},
"charge_unit": {
"buckets": [
{
"doc_count": 3,
"key": ""
}
],
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0
},
"doc_count": 3,
"key": "Lourde"
},
{
"charge_reverse_nested": {
"charge_reverse_nested_parent_filter": {
"doc_count": 1
},
"doc_count": 1
},
"charge_unit": {
"buckets": [
{
"doc_count": 1,
"key": ""
}
],
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0
},
"doc_count": 1,
"key": "L\u00e9g\u00e8re"
}
],
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0
},
"doc_count": 4
},
"doc_count": 30
},
"continuum_price": {
"buckets": {
"*-*": {
"doc_count": 4
}
}
},
"continuum_price_stats": {
"continuum_price_stats": {
"avg": 31.923000000000002,
"count": 4,
"max": 44.796,
"min": 6.996,
"sum": 127.69200000000001
},
"doc_count": 4
},
"continuum_price_stats_filtered": {
"continuum_price_stats": {
"avg": 31.923000000000002,
"count": 4,
"max": 44.796,
"min": 6.996,
"sum": 127.69200000000001
},
"doc_count": 4
},
"continuum_price_stats_with_include_self_filter": {
"continuum_price_stats": {
"avg": 31.923000000000002,
"count": 4,
"max": 44.796,
"min": 6.996,
"sum": 127.69200000000001
},
"doc_count": 4
},
"delivery24h": {
"buckets": [
{
"doc_count": 4,
"key": 1
}
],
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0
},
"diametre": {
"diametre_nested": {
"diametre_nested_filtered": {
"buckets": [],
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0
},
"doc_count": 0
},
"doc_count": 30
},
"longueur": {
"doc_count": 30,
"longueur_nested": {
"doc_count": 3,
"longueur_nested_filtered": {
"buckets": [
{
"doc_count": 1,
"key": "30",
"longueur_reverse_nested": {
"doc_count": 1,
"longueur_reverse_nested_parent_filter": {
"doc_count": 1
}
},
"longueur_unit": {
"buckets": [
{
"doc_count": 1,
"key": "mm"
}
],
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0
}
},
{
"doc_count": 1,
"key": "35",
"longueur_reverse_nested": {
"doc_count": 1,
"longueur_reverse_nested_parent_filter": {
"doc_count": 1
}
},
"longueur_unit": {
"buckets": [
{
"doc_count": 1,
"key": "mm"
}
],
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0
}
},
{
"doc_count": 1,
"key": "40",
"longueur_reverse_nested": {
"doc_count": 1,
"longueur_reverse_nested_parent_filter": {
"doc_count": 1
}
},
"longueur_unit": {
"buckets": [
{
"doc_count": 1,
"key": "mm"
}
],
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0
}
}
],
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0
}
}
},
"nature-du-support": {
"doc_count": 30,
"nature-du-support_nested": {
"doc_count": 4,
"nature-du-support_nested_filtered": {
"buckets": [
{
"doc_count": 4,
"key": "Creux",
"nature-du-support_reverse_nested": {
"doc_count": 4,
"nature-du-support_reverse_nested_parent_filter": {
"doc_count": 4
}
},
"nature-du-support_unit": {
"buckets": [
{
"doc_count": 4,
"key": ""
}
],
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0
}
}
],
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0
}
}
},
"offers": {
"buckets": [],
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0
},
"type-de-cheville": {
"doc_count": 30,
"type-de-cheville_nested": {
"doc_count": 4,
"type-de-cheville_nested_filtered": {
"buckets": [
{
"doc_count": 4,
"key": "A clouer",
"type-de-cheville_reverse_nested": {
"doc_count": 4,
"type-de-cheville_reverse_nested_parent_filter": {
"doc_count": 4
}
},
"type-de-cheville_unit": {
"buckets": [
{
"doc_count": 4,
"key": ""
}
],
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0
}
}
],
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0
}
}
}
},
"hits": {
"hits": [
{
"_id": "p-118148",
"_index": "catalog_2025_01",
"_score": 16.419128,
"_source": {
"catalog_code": "28bb86c9345265ab459cddb14012836b_664d8a2b67eeb"
},
"_type": "product"
},
{
"_id": "p-118149",
"_index": "catalog_2025_01",
"_score": 16.419128,
"_source": {
"catalog_code": "a6664c3784a885331075f564fb977847_664d8a2be59bf"
},
"_type": "product"
},
{
"_id": "p-118177",
"_index": "catalog_2025_01",
"_score": 16.176092,
"_source": {
"catalog_code": "9c6cccc7828e480fd097320fdaad67ab_664edbc7bb58c"
},
"_type": "product"
},
{
"_id": "p-92977",
"_index": "catalog_2025_01",
"_score": 16.0,
"_source": {
"catalog_code": "dd0a4b6481303ad3245ba4c1822a1df8_60b9d016068ab"
},
"_type": "product"
}
],
"max_score": 16.419128,
"total": 4
},
"timed_out": false,
"took": 2
}
flattened ui facets
[
{
"buckets": [
{
"doc_count": 1,
"key": "30"
},
{
"doc_count": 1,
"key": "35"
},
{
"doc_count": 1,
"key": "40"
}
],
"name": "longueur",
"unit": "mm"
},
{
"buckets": [
{
"continuum_price_stats": {
"avg": 31.923000000000002,
"count": 4,
"max": 44.796,
"min": 6.996,
"sum": 127.69200000000001
},
"doc_count": 4
}
],
"name": "continuum_price_stats_with_include_self_filter",
"unit": null
},
{
"buckets": [],
"name": "offers",
"unit": null
},
{
"buckets": [
{
"doc_count": 3,
"key": "Lourde"
},
{
"doc_count": 1,
"key": "L\u00e9g\u00e8re"
}
],
"name": "charge",
"unit": null
},
{
"buckets": [
{
"continuum_price_stats": {
"avg": 31.923000000000002,
"count": 4,
"max": 44.796,
"min": 6.996,
"sum": 127.69200000000001
},
"doc_count": 4
}
],
"name": "continuum_price_stats_filtered",
"unit": null
},
{
"buckets": [],
"name": "diametre",
"unit": null
},
{
"buckets": [
{
"doc_count": 4,
"key": 1
}
],
"name": "delivery24h",
"unit": null
},
{
"buckets": [
{
"doc_count": 4,
"key": "Creux"
}
],
"name": "nature-du-support",
"unit": null
},
{
"buckets": [
{
"doc_count": 4,
"key": "A clouer"
}
],
"name": "type-de-cheville",
"unit": null
},
{
"buckets": [
{
"doc_count": 4,
"key": "4bf0f7deefa77878491505"
},
{
"doc_count": 4,
"key": "573c8cf57c62f004942971"
},
{
"doc_count": 4,
"key": "5b17d2f9b6cb2414812013"
},
{
"doc_count": 4,
"key": "root"
}
],
"name": "categories",
"unit": null
},
{
"buckets": [
{
"continuum_price_stats": {
"avg": 31.923000000000002,
"count": 4,
"max": 44.796,
"min": 6.996,
"sum": 127.69200000000001
},
"doc_count": 4
}
],
"name": "continuum_price_stats",
"unit": null
},
{
"buckets": [
{
"doc_count": 4,
"key": "ING FIXATIONS"
}
],
"name": "brand",
"unit": null
},
{
"buckets": [
{
"continuum_price_stats": {
"avg": 31.923000000000002,
"count": 4,
"max": 44.796,
"min": 6.996,
"sum": 127.69200000000001
},
"doc_count": 4
},
{
"continuum_price_stats": {
"avg": 31.923000000000002,
"count": 4,
"max": 44.796,
"min": 6.996,
"sum": 127.69200000000001
},
"doc_count": 4
},
{
"continuum_price_stats": {
"avg": 31.923000000000002,
"count": 4,
"max": 44.796,
"min": 6.996,
"sum": 127.69200000000001
},
"doc_count": 4
}
],
"name": "continuum_price",
"unit": null
}
]
flattened suggestions
[]