appbaseio / appbaseio/reactivesearch

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

Abierto
#1,968 1 comentario 1 reacción 1 asignado Reclamado por @mohdashraf010897 Ver en GitHub
bug
Lenguaje dominante
JavaScript
Estrellas
4.9k
Forks
478
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.