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

Introduce new 'unsigned_long' numeric field type support #3585

Merged
merged 7 commits into from
May 25, 2023

Conversation

reta
Copy link
Contributor

@reta reta commented Mar 27, 2023

Description

Introduce new 'unsigned_long' numeric field type support

Issues Resolved

Related to opensearch-project/OpenSearch#2083 and opensearch-project/OpenSearch#6237

Checklist

  • By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
    For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@ariamarble
Copy link
Contributor

@reta I see that this is still in a draft state. Is this still being worked on from your end, or is this ready for review?

@reta
Copy link
Contributor Author

reta commented Mar 30, 2023

@reta I see that this is still in a draft state. Is this still being worked on from your end, or is this ready for review?

@ariamarble thanks for looking, wrapping up the test cases and related fixes (opensearch-project/OpenSearch#6901, opensearch-project/OpenSearch#6237), should be ready today / tomorrow

@Naarcha-AWS
Copy link
Collaborator

@reta: Any updates on this? Anything we can do to help?

@reta
Copy link
Contributor Author

reta commented Apr 12, 2023

@reta: Any updates on this? Anything we can do to help?

Thanks @Naarcha-AWS the pull request in core is under review opensearch-project/OpenSearch#6237 but the feature won't make it till 2.8.0

@reta reta marked this pull request as ready for review April 12, 2023 16:01
@reta
Copy link
Contributor Author

reta commented May 5, 2023

@Naarcha-AWS the feature has been merged to main and 2.x (upcoming 2.8.0), thank you for patience !

@Naarcha-AWS Naarcha-AWS self-requested a review May 10, 2023 18:25
@Naarcha-AWS Naarcha-AWS added v2.8.0 1 - Backlog Issue: The issue is unassigned or assigned but not started labels May 10, 2023
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
@kolchfa-aws
Copy link
Collaborator

Thank you, @reta! Would you prefer that I comment on the PR or edit directly so you can just review afterwards?

@reta
Copy link
Contributor Author

reta commented May 23, 2023

Thank you, @reta! Would you prefer that I comment on the PR or edit directly so you can just review afterwards?

@kolchfa-aws totally up to you, whatever is more convenient for you, thanks!

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
@kolchfa-aws
Copy link
Collaborator

@reta Done. Could you please look it over to confirm technical accuracy? Thanks!

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
@kolchfa-aws kolchfa-aws added 4 - Doc Review PR: Doc review in progress and removed 1 - Backlog Issue: The issue is unassigned or assigned but not started labels May 24, 2023
Copy link
Collaborator

@vagimeli vagimeli left a comment

Choose a reason for hiding this comment

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

Minor edit. Looks good.

_field-types/supported-field-types/unsigned-long.md Outdated Show resolved Hide resolved
Co-authored-by: Melissa Vagi <vagimeli@amazon.com>
Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
@reta
Copy link
Contributor Author

reta commented May 24, 2023

@reta Done. Could you please look it over to confirm technical accuracy? Thanks!

Thanks @kolchfa-aws , LGTM!

@kolchfa-aws kolchfa-aws added 5 - Final Editorial Review PR: Editorial Review in progress and removed 4 - Doc Review PR: Doc review in progress labels May 24, 2023
Copy link
Collaborator

@natebower natebower left a comment

Choose a reason for hiding this comment

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

Just a few comments. Thanks!

_field-types/supported-field-types/unsigned-long.md Outdated Show resolved Hide resolved
```
{% include copy-curl.html %}

If a field of type `unsigned_long` has the `store` parameter set to `true` (that is, the field is a stored field), it will be stored and returned as a string. `unsigned_long` values do not support the decimal part, so if supplied, the decimal part is truncated.
Copy link
Collaborator

Choose a reason for hiding this comment

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

In both instances of "the decimal part", do we mean something like "the decimal portion of the [noun]"?

Copy link
Collaborator

Choose a reason for hiding this comment

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

We mean the decimal part of the number (where "of the number" is implicitly understood).

_field-types/supported-field-types/unsigned-long.md Outdated Show resolved Hide resolved
_field-types/supported-field-types/unsigned-long.md Outdated Show resolved Hide resolved
_field-types/supported-field-types/unsigned-long.md Outdated Show resolved Hide resolved
@natebower natebower removed the 5 - Final Editorial Review PR: Editorial Review in progress label May 25, 2023
kolchfa-aws and others added 3 commits May 25, 2023 11:07
Co-authored-by: Nathan Bower <nbower@amazon.com>
Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
@kolchfa-aws kolchfa-aws added the release-notes PR: Include this PR in the automated release notes label May 25, 2023
@kolchfa-aws kolchfa-aws merged commit 2745dd5 into opensearch-project:main May 25, 2023
4 checks passed
vagimeli added a commit that referenced this pull request May 26, 2023
* Introduce new 'unsigned_long' numeric field type support

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

* Readability improvements and style guide changes

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Rename file and fix links

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Update _field-types/supported-field-types/unsigned-long.md

Co-authored-by: Melissa Vagi <vagimeli@amazon.com>
Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Nathan Bower <nbower@amazon.com>
Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>

* Add trailing slash to link

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

---------

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Co-authored-by: Fanit Kolchina <kolchfa@amazon.com>
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Co-authored-by: Melissa Vagi <vagimeli@amazon.com>
Co-authored-by: Nathan Bower <nbower@amazon.com>
harshavamsi pushed a commit to harshavamsi/documentation-website that referenced this pull request Oct 31, 2023
…project#3585)

* Introduce new 'unsigned_long' numeric field type support

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

* Readability improvements and style guide changes

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Rename file and fix links

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Update _field-types/supported-field-types/unsigned-long.md

Co-authored-by: Melissa Vagi <vagimeli@amazon.com>
Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Nathan Bower <nbower@amazon.com>
Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>

* Add trailing slash to link

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

---------

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Co-authored-by: Fanit Kolchina <kolchfa@amazon.com>
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Co-authored-by: Melissa Vagi <vagimeli@amazon.com>
Co-authored-by: Nathan Bower <nbower@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes PR: Include this PR in the automated release notes v2.8.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants