Livraison Express 24h Livraison Express 24h : Commandez avant 17h, soyez livré demain !   Voir la sélection >

Raccord bourdin

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
            }
        },
        "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"
            }
        },
        "filetage": {
            "aggs": {
                "filetage_nested": {
                    "aggs": {
                        "filetage_nested_filtered": {
                            "aggs": {
                                "filetage_reverse_nested": {
                                    "aggs": {
                                        "filetage_reverse_nested_parent_filter": {
                                            "filter": {
                                                "match_all": {}
                                            }
                                        }
                                    },
                                    "reverse_nested": {}
                                },
                                "filetage_unit": {
                                    "terms": {
                                        "field": "articles.characteristics.unit.untouched",
                                        "size": 1
                                    }
                                }
                            },
                            "terms": {
                                "field": "articles.characteristics.value.untouched",
                                "size": 1000
                            }
                        }
                    },
                    "filter": {
                        "term": {
                            "articles.characteristics.name.untouched": "Filetage"
                        }
                    }
                }
            },
            "nested": {
                "path": "articles.characteristics"
            }
        },
        "matiere": {
            "aggs": {
                "matiere_nested": {
                    "aggs": {
                        "matiere_nested_filtered": {
                            "aggs": {
                                "matiere_reverse_nested": {
                                    "aggs": {
                                        "matiere_reverse_nested_parent_filter": {
                                            "filter": {
                                                "match_all": {}
                                            }
                                        }
                                    },
                                    "reverse_nested": {}
                                },
                                "matiere_unit": {
                                    "terms": {
                                        "field": "articles.characteristics.unit.untouched",
                                        "size": 1
                                    }
                                }
                            },
                            "terms": {
                                "field": "articles.characteristics.value.untouched",
                                "size": 1000
                            }
                        }
                    },
                    "filter": {
                        "term": {
                            "articles.characteristics.name.untouched": "Mati\u00e8re"
                        }
                    }
                }
            },
            "nested": {
                "path": "articles.characteristics"
            }
        },
        "offers": {
            "terms": {
                "field": "offers.untouched",
                "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": "593006bd7cf90991113785"
                            }
                        }
                    ],
                    "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": "RACCORD BOURDIN"
                }
            ],
            "doc_count_error_upper_bound": 0,
            "sum_other_doc_count": 0
        },
        "categories": {
            "buckets": [
                {
                    "doc_count": 4,
                    "key": "4bf0f9846eff4789923536"
                },
                {
                    "doc_count": 4,
                    "key": "508e9475abc79409512645"
                },
                {
                    "doc_count": 4,
                    "key": "593006bd7cf90991113785"
                },
                {
                    "doc_count": 4,
                    "key": "root"
                }
            ],
            "doc_count_error_upper_bound": 0,
            "sum_other_doc_count": 0
        },
        "continuum_price": {
            "buckets": {
                "*-*": {
                    "doc_count": 4
                }
            }
        },
        "continuum_price_stats": {
            "continuum_price_stats": {
                "avg": 153.29100000000003,
                "count": 4,
                "max": 161.58,
                "min": 137.22,
                "sum": 613.1640000000001
            },
            "doc_count": 4
        },
        "continuum_price_stats_filtered": {
            "continuum_price_stats": {
                "avg": 153.29100000000003,
                "count": 4,
                "max": 161.58,
                "min": 137.22,
                "sum": 613.1640000000001
            },
            "doc_count": 4
        },
        "continuum_price_stats_with_include_self_filter": {
            "continuum_price_stats": {
                "avg": 153.29100000000003,
                "count": 4,
                "max": 161.58,
                "min": 137.22,
                "sum": 613.1640000000001
            },
            "doc_count": 4
        },
        "delivery24h": {
            "buckets": [
                {
                    "doc_count": 2,
                    "key": 0
                },
                {
                    "doc_count": 2,
                    "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": 25
        },
        "filetage": {
            "doc_count": 25,
            "filetage_nested": {
                "doc_count": 0,
                "filetage_nested_filtered": {
                    "buckets": [],
                    "doc_count_error_upper_bound": 0,
                    "sum_other_doc_count": 0
                }
            }
        },
        "matiere": {
            "doc_count": 25,
            "matiere_nested": {
                "doc_count": 0,
                "matiere_nested_filtered": {
                    "buckets": [],
                    "doc_count_error_upper_bound": 0,
                    "sum_other_doc_count": 0
                }
            }
        },
        "offers": {
            "buckets": [],
            "doc_count_error_upper_bound": 0,
            "sum_other_doc_count": 0
        }
    },
    "hits": {
        "hits": [
            {
                "_id": "p-9775",
                "_index": "catalog_2025_01",
                "_score": 17.327972,
                "_source": {
                    "catalog_code": "z5552"
                },
                "_type": "product"
            },
            {
                "_id": "p-9778",
                "_index": "catalog_2025_01",
                "_score": 16.30103,
                "_source": {
                    "catalog_code": "z5555"
                },
                "_type": "product"
            },
            {
                "_id": "p-9777",
                "_index": "catalog_2025_01",
                "_score": 4.0,
                "_source": {
                    "catalog_code": "z5554"
                },
                "_type": "product"
            },
            {
                "_id": "p-9776",
                "_index": "catalog_2025_01",
                "_score": 4.0,
                "_source": {
                    "catalog_code": "z5553"
                },
                "_type": "product"
            }
        ],
        "max_score": 17.327972,
        "total": 4
    },
    "timed_out": false,
    "took": 2
}

flattened ui facets

[
    {
        "buckets": [],
        "name": "filetage",
        "unit": null
    },
    {
        "buckets": [
            {
                "continuum_price_stats": {
                    "avg": 153.29100000000003,
                    "count": 4,
                    "max": 161.58,
                    "min": 137.22,
                    "sum": 613.1640000000001
                },
                "doc_count": 4
            }
        ],
        "name": "continuum_price_stats_with_include_self_filter",
        "unit": null
    },
    {
        "buckets": [],
        "name": "offers",
        "unit": null
    },
    {
        "buckets": [
            {
                "doc_count": 2,
                "key": 0
            },
            {
                "doc_count": 2,
                "key": 1
            }
        ],
        "name": "delivery24h",
        "unit": null
    },
    {
        "buckets": [
            {
                "continuum_price_stats": {
                    "avg": 153.29100000000003,
                    "count": 4,
                    "max": 161.58,
                    "min": 137.22,
                    "sum": 613.1640000000001
                },
                "doc_count": 4
            }
        ],
        "name": "continuum_price_stats_filtered",
        "unit": null
    },
    {
        "buckets": [],
        "name": "diametre",
        "unit": null
    },
    {
        "buckets": [
            {
                "doc_count": 4,
                "key": "4bf0f9846eff4789923536"
            },
            {
                "doc_count": 4,
                "key": "508e9475abc79409512645"
            },
            {
                "doc_count": 4,
                "key": "593006bd7cf90991113785"
            },
            {
                "doc_count": 4,
                "key": "root"
            }
        ],
        "name": "categories",
        "unit": null
    },
    {
        "buckets": [
            {
                "continuum_price_stats": {
                    "avg": 153.29100000000003,
                    "count": 4,
                    "max": 161.58,
                    "min": 137.22,
                    "sum": 613.1640000000001
                },
                "doc_count": 4
            }
        ],
        "name": "continuum_price_stats",
        "unit": null
    },
    {
        "buckets": [
            {
                "doc_count": 4,
                "key": "RACCORD BOURDIN"
            }
        ],
        "name": "brand",
        "unit": null
    },
    {
        "buckets": [],
        "name": "matiere",
        "unit": null
    },
    {
        "buckets": [
            {
                "continuum_price_stats": {
                    "avg": 153.29100000000003,
                    "count": 4,
                    "max": 161.58,
                    "min": 137.22,
                    "sum": 613.1640000000001
                },
                "doc_count": 4
            },
            {
                "continuum_price_stats": {
                    "avg": 153.29100000000003,
                    "count": 4,
                    "max": 161.58,
                    "min": 137.22,
                    "sum": 613.1640000000001
                },
                "doc_count": 4
            },
            {
                "continuum_price_stats": {
                    "avg": 153.29100000000003,
                    "count": 4,
                    "max": 161.58,
                    "min": 137.22,
                    "sum": 613.1640000000001
                },
                "doc_count": 4
            }
        ],
        "name": "continuum_price",
        "unit": null
    }
]

flattened suggestions

[]