Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#1,968 1 commento 1 reazione 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@mohdashraf010897 ci sta già lavorando.

Dal 17/5/2022.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug

Affected Projects
React

Library Version: 3.30.3

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

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

<DynamicRangeSlider componentId="PriceSlider" dataField="price" />

My ElasticSearch mapping for the price field is:

  "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

Lingua principale
JavaScript
Stelle
4.9k
Fork
479
Merge medio
4g 10h
PR unite (30g)
4

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di appbaseio/reactivesearch

Tutte le issue di appbaseio/reactivesearch

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.