appbaseio / appbaseio/reactivesearch

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

Ouverte
#1,968 1 commentaire 1 réaction 1 personne assignée Réclamée par @mohdashraf010897 Voir sur GitHub
bug
Langage dominant
JavaScript
Étoiles
4.9k
Forks
478
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

**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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.