appbaseio / appbaseio/reactivesearch

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

Aperta
#1,968 1 commento 1 reazione 1 assegnatario Rivendicata da @mohdashraf010897 Vedi su GitHub
bug
Lingua principale
JavaScript
Stelle
4.9k
Fork
478
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.