mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 23:27:25 -04:00
This formats the result of the `fields` section of the `_search` API for runtime `geo_point` fields using the `format` parameter like we do for non-runtime `geo_point` fields. This changes the default format for those fields from `lat, lon` to `geojson` with the option to get `wkt` or any other format we support. The fix does so by preserving the `double, double` nature of the `geo_point` rather than encoding it immediately in the script. Callers can use the results. The field fetchers use the `double, double` natively, preserving as much precision as possible. The queries quantize the points exactly like lucene indexing does. And like the script did before this Pr. Closes #85245 |
||
---|---|---|
.. | ||
painless-api-reference | ||
painless-contexts | ||
painless-guide | ||
painless-lang-spec | ||
index.asciidoc | ||
painless-api-reference.asciidoc | ||
painless-contexts.asciidoc | ||
painless-guide.asciidoc | ||
painless-lang-spec.asciidoc | ||
redirects.asciidoc |