-
Notifications
You must be signed in to change notification settings - Fork 424
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
Conversation
@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 |
@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 |
@Naarcha-AWS the feature has been merged to |
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
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>
@reta Done. Could you please look it over to confirm technical accuracy? Thanks! |
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
There was a problem hiding this 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.
Co-authored-by: Melissa Vagi <vagimeli@amazon.com> Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Thanks @kolchfa-aws , LGTM! |
There was a problem hiding this 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!
``` | ||
{% 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. |
There was a problem hiding this comment.
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]"?
There was a problem hiding this comment.
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).
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>
* 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>
…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>
Description
Introduce new 'unsigned_long' numeric field type support
Issues Resolved
Related to opensearch-project/OpenSearch#2083 and opensearch-project/OpenSearch#6237
Checklist
For more information on following Developer Certificate of Origin and signing off your commits, please check here.