elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
70.93k stars 24.9k forks source link

Implement native synthetic source support for `geo_shape` #108980

Open lkts opened 6 months ago

lkts commented 6 months ago

Description

108881 added synthetic source support for geo_shape by cloning raw field data and storing it. There is a possible optimization here - synthetic source can be constructed from a stored field that uses binary WKB format (already existing and enabled via store parameter).

In order to implement this we need:

Note that shape is stored after normalization indexer.normalize(geometry) which means that it can be different from source shape data.

elasticsearchmachine commented 6 months ago

Pinging @elastic/es-storage-engine (Team:StorageEngine)