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

Multi-list with "complex" aggregation query

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

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript
Lĩnh vực
frontend, search

Hướng nghiên cứu

Bắt đầu với tài liệu về MultiList extension được liên kết trong issue và kiểm tra cách nó xây dựng các truy vấn aggregation. So sánh hành vi đó với ví dụ aggregation lồng nhau, có bộ lọc được cung cấp; được xem là hoàn thành khi một cách tiếp cận component có tài liệu có thể biểu diễn các aggregation riêng biệt trên cùng một trường.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

Affected Projects
Vue.JS

Is your feature request related to a problem? Please describe.
I would like to create separate aggregations on the same field using nested aggregations with a filter.

Describe the solution you'd like
Either an expansion of the multi-list component that allows for more control over the aggregation query or a separate component that can handle this use-case.

Describe alternatives you've considered
I have looked into extending the MultiList component conform https://docs.appbase.io/docs/reactivesearch/vue/list/MultiList/#extending. However this does not provide enough control.

Additional context
Hereby a sample query:

GET _search
{
  "aggs": {
    "continent": {
      "nested": {
        "path": "subjects"
      },
      "aggs": {
        "inner": {
          "filter": {
            "bool": {
              "must": [
                {
                  "term": {
                    "subjects.typeId.keyword": "subjectType:sYdC11MLUoxrAGt24dGw"
                  }
                }
              ]
            }
          },
          "aggs": {
            "subjects.id.keyword": {
              "terms": {
                "field": "subjects.name.keyword",
                "size": 10,
                "order": {
                  "_term": "asc"
                }
              }
            }
          }
        }
      }
    }
  },
  "size": 0
}
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.