Skip to content

Optimize ST_CENTROID_AGG over shapes using doc-values #142640

@craigtaverner

Description

@craigtaverner

The work at #141657 added support for geo_shape and cartesian_shape to ST_CENTROID_AGG, however, this was using shapes from source, which is very slow. The doc-values for shapes contain centroid information, so we can optimize this by reading directly from doc-values.

Metadata

Metadata

Assignees

Labels

:Analytics/ES|QLAKA ESQL:Analytics/GeoIndexing, search aggregations of geo points and shapes>enhancementTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions