Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

DynamicRangeSlider giving "Missing definition for aggregation [match_all]" error

Đang mở
#1,968 1 bình luận 1 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@mohdashraf010897 đang làm issue này rồi.

Từ ngày 17/5/2022.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug

Affected Projects
React

Library Version: 3.30.3

Describe the bug
When using the DynamicRangeSlider the request to ElasticSearch is returning the following error:

{
    "error": {
        "root_cause": [
            {
                "type": "parsing_exception",
                "reason": "Missing definition for aggregation [match_all]",
                "line": 1,
                "col": 48
            }
        ],
        "type": "parsing_exception",
        "reason": "Missing definition for aggregation [match_all]",
        "line": 1,
        "col": 48
    },
    "status": 400
}

To Reproduce

Here is how I am using the component:

<DynamicRangeSlider componentId="PriceSlider" dataField="price" />

My ElasticSearch mapping for the price field is:

  "price": {
     "type": "double"
  },

Expected behavior

This uses the "basic usage" example from the docs, is there something else I'm required to add to get this component working?

Additional context
My ElasticSearch version is 7.10.2

Ngôn ngữ chính
JavaScript
Star
4.9k
Fork
479
Merge trung bình
4 ngày 10 giờ
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của appbaseio/reactivesearch

Tất cả issue của appbaseio/reactivesearch

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.