DynamicRangeSlider giving "Missing definition for aggregation [match_all]" error
维护者通常 1 天内回复
@mohdashraf010897 已经在做这个了。
开始于 2022年5月17日。
评估
这个 Issue 还没有评估数据。
描述
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
- 主要语言
- JavaScript
- 星标
- 4.9k
- 派生
- 479
- 平均合并
- 4 天 10 小时
- 30 天内合并 PR
- 4
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
appbaseio/reactivesearch 的其他 Issue
-
ci: add Node.js version matrix, caching, and lint step to test workflow可能已有人在做 @Talha12Shiekh 于 72 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
appbaseio/reactivesearch#2322 ·
维护者通常 1 天内回复
-
chore: add Dependabot config for automated dependency updates可能已有人在做 @Talha12Shiekh 于 72 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
appbaseio/reactivesearch#2321 · 1 条评论 ·
维护者通常 1 天内回复
-
security: user-controlled URL params injected directly into Redux store via JSON.parse可能已有人在做 @Talha12Shiekh 于 72 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
appbaseio/reactivesearch#2319 ·
维护者通常 1 天内回复
-
refactor: consolidate 12 near-identical SVG icon components into one pattern可能已有人在做 @Talha12Shiekh 于 74 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 48/100
appbaseio/reactivesearch#2324 ·
维护者通常 1 天内回复
-
refactor: SearchBox.js is 2692 lines — extract subcomponents for maintainability可能已有人在做 @Talha12Shiekh 于 72 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 55/100
appbaseio/reactivesearch#2323 ·
维护者通常 1 天内回复
查看 appbaseio/reactivesearch 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 88/100
jspreadsheet/ce#1809 ·
-
documentation
难度 1/5 1 小时以内 新手友好度 91/100
githubnext/gh-aw-workshop#4458 ·
维护者通常 1 天内回复
-
Add: Cartoonito未关闭check:failed feeds:add
难度 2/5 1-3 小时 新手友好度 63/100
iptv-org/database#37390 · 1 条评论 ·
维护者通常 9 天内回复
-
bug: directory index route root priority is overwritten when wildcard is false可能已有人在做 @TalhaHunter101 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
fastify/fastify-static#617 ·
-
bug confirmed css v6
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复