Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Multi-list with "complex" aggregation query

オープン
#1,530 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript
領域
frontend, search

調査の方向性

Issue にリンクされている MultiList extension のドキュメントから始め、どのように aggregation query を構築しているかを調べてください。提供されている nested、filtered aggregation の例とその動作を比較してください。完了とは、ドキュメント化されたコンポーネントアプローチで同じフィールドに対する個別の aggregation を表現できることを意味します。

索引モデルが issue の本文から書いたものです。

説明

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
}
主要言語
JavaScript
スター
4.9k
フォーク
479
平均マージ
4時間 43分
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

appbaseio/reactivesearch のほかの issue

appbaseio/reactivesearch の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。