appbaseio / appbaseio/reactivesearch

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

オープン
#1,968 コメント 1 件 リアクション 1 件 担当者 1 名 @mohdashraf010897 が担当を希望しています GitHub で見る
bug
主要言語
JavaScript
スター
4.9k
フォーク
478
PR マージ指標
30日以内にマージされた PR はありません

説明

**Affected Projects**
React

**Library Version:** 3.30.3

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

```json
{
"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:

```html

```

My ElasticSearch mapping for the price field is:

```json
"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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

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

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