Skip to content

Streamline serialization when retrieving spatial data through fields. #60259

Closed
@jtibshirani

Description

@jtibshirani

In #59821 we added support for retrieving spatial values like geo points using the fields parameter. To keep the PR well-scoped, we adopted a simple but inefficient serialization strategy: parsed geometry object -> xContent -> simple Java object.

We plan to streamline the serialization by converting directly from geometry object -> simple Java object. It is important to avoid unnecessary conversions, as some geometry objects can be quite large (like polygons representing a complex boundary).

Relates to #55363.

Metadata

Metadata

Assignees

Labels

:Analytics/GeoIndexing, search aggregations of geo points and shapes:Search/SearchSearch-related issues that do not fall into other categories>enhancementTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)Team:SearchMeta label for search team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions