mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Avoid shard failures when performing bbox filter on coordinate maps (#19533)
This commit is contained in:
parent
29cb018771
commit
540f24313e
1 changed files with 6 additions and 4 deletions
|
@ -138,10 +138,12 @@ export const geoHashBucketAgg = new BucketAggType({
|
|||
} else {
|
||||
mapCollar = lastMapCollar;
|
||||
}
|
||||
const boundingBox = {};
|
||||
boundingBox[agg.getField().name] = {
|
||||
top_left: mapCollar.top_left,
|
||||
bottom_right: mapCollar.bottom_right
|
||||
const boundingBox = {
|
||||
ignore_unmapped: true,
|
||||
[agg.getField().name]: {
|
||||
top_left: mapCollar.top_left,
|
||||
bottom_right: mapCollar.bottom_right
|
||||
}
|
||||
};
|
||||
aggs.push(new AggConfig(agg.vis, {
|
||||
type: 'filter',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue