Skip to content

Conversation

jdconrad
Copy link
Contributor

@jdconrad jdconrad commented Dec 6, 2021

This adds a geo point(s) field for the scripting fields api. This field only supports get(default), get(index, default), and iterator right now. This also adds the ability to create new a GeoPoint through the allow list, so users can specify a default that makes sense. It does not include reset as this field currently does not wrap the data to be read-only.

We should go through and re-evaluate the utility methods we want to support for geo in general at this point.

@jdconrad jdconrad added >enhancement :Core/Infra/Scripting Scripting abstractions, Painless, and Mustache v8.1.0 labels Dec 6, 2021
@jdconrad jdconrad requested a review from stu-elastic December 6, 2021 22:42
@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Dec 6, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@elasticsearchmachine
Copy link
Collaborator

Hi @jdconrad, I've created a changelog YAML for you.

Copy link
Contributor

@stu-elastic stu-elastic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Request and question. Good work.

@jdconrad
Copy link
Contributor Author

jdconrad commented Dec 7, 2021

@stu-elastic Thanks for the review! Will commit as soon as CI passes.

@jdconrad
Copy link
Contributor Author

jdconrad commented Dec 7, 2021

@elasticmachine run elasticsearch-ci/docs skiplinkcheck

@jdconrad jdconrad merged commit d59038b into elastic:master Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Core/Infra/Scripting Scripting abstractions, Painless, and Mustache >enhancement Team:Core/Infra Meta label for core/infra team v8.1.0

4 participants