Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

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

Aberta
#1,968 1 comentário 1 reação 1 responsável Ver no GitHub

Mantenedores costumam responder em até 1 dia

@mohdashraf010897 já está trabalhando nisso.

Desde 17/5/2022.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

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

Linguagem predominante
JavaScript
Estrelas
4.9k
Forks
479
Merge médio
4d 10h
PRs com merge (30d)
4

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de appbaseio/reactivesearch

Todas as issues de appbaseio/reactivesearch

Issues semelhantes

Mais issues de JavaScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.