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

Fix #3323 Add support for null_value, ignore_z_value on GeoPoint prop… #3364

Merged
merged 4 commits into from
Aug 20, 2018

Conversation

Mpdreamz
Copy link
Member

…erty

Copy link
Contributor

@russcam russcam left a comment

Choose a reason for hiding this comment

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

One small change for the default value for GeoPointAttribute

GeoLocation IGeoPointProperty.NullValue { get; set; }

public bool IgnoreMalformed { get => Self.IgnoreMalformed.GetValueOrDefault(); set => Self.IgnoreMalformed = value; }
public bool IgnoreZValue { get => Self.IgnoreZValue.GetValueOrDefault(); set => Self.IgnoreZValue= value; }
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this should be Self.IgnoreZValue.GetValueOrDefault(true), in line with the default value in Elasticsearch

@russcam russcam merged commit e24dbdd into 6.3 Aug 20, 2018
@russcam russcam deleted the feature/geo-point-6.3 branch August 24, 2018 06:47
Mpdreamz added a commit that referenced this pull request Sep 3, 2018
#3364)

This commit adds support for null_value, ignore_z_value on GeoPoint property
Mpdreamz added a commit that referenced this pull request Sep 3, 2018
#3364)

This commit adds support for null_value, ignore_z_value on GeoPoint property
Mpdreamz added a commit that referenced this pull request Sep 6, 2018
#3364)

This commit adds support for null_value, ignore_z_value on GeoPoint property

(cherry picked from commit 9c7e599)
@Mpdreamz Mpdreamz mentioned this pull request Sep 10, 2018
45 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants