Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specialise ScriptDocValues#GeoPoints for single values (#73656) #73659

Merged
merged 1 commit into from
Jun 2, 2021

Conversation

iverase
Copy link
Contributor

@iverase iverase commented Jun 2, 2021

In #72886 we added painless support for geo_shape fields. This affected as well the way how we construct ScriptDocValues for geopoints which it is expected to slow down slightly. This PR limits the slow down when there is only one value by specialising the way we construct them.

backport #73656

@iverase iverase merged commit 812697e into elastic:7.x Jun 2, 2021
@iverase iverase deleted the backport73656 branch June 2, 2021 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant