-
Notifications
You must be signed in to change notification settings - Fork 523
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 <[email protected]>
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 <[email protected]>
@reta Done. Could you please look it over to confirm technical accuracy? Thanks! |
Signed-off-by: Fanit Kolchina <[email protected]>
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 <[email protected]> Signed-off-by: kolchfa-aws <[email protected]>
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 <[email protected]> Signed-off-by: kolchfa-aws <[email protected]>
Signed-off-by: Fanit Kolchina <[email protected]>
* Introduce new 'unsigned_long' numeric field type support Signed-off-by: Andriy Redko <[email protected]> * Readability improvements and style guide changes Signed-off-by: Fanit Kolchina <[email protected]> * Rename file and fix links Signed-off-by: Fanit Kolchina <[email protected]> * Update _field-types/supported-field-types/unsigned-long.md Co-authored-by: Melissa Vagi <[email protected]> Signed-off-by: kolchfa-aws <[email protected]> * Apply suggestions from code review Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: kolchfa-aws <[email protected]> * Add trailing slash to link Signed-off-by: Fanit Kolchina <[email protected]> --------- Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: Fanit Kolchina <[email protected]> Signed-off-by: kolchfa-aws <[email protected]> Co-authored-by: Fanit Kolchina <[email protected]> Co-authored-by: kolchfa-aws <[email protected]> Co-authored-by: Melissa Vagi <[email protected]> Co-authored-by: Nathan Bower <[email protected]>
…project#3585) * Introduce new 'unsigned_long' numeric field type support Signed-off-by: Andriy Redko <[email protected]> * Readability improvements and style guide changes Signed-off-by: Fanit Kolchina <[email protected]> * Rename file and fix links Signed-off-by: Fanit Kolchina <[email protected]> * Update _field-types/supported-field-types/unsigned-long.md Co-authored-by: Melissa Vagi <[email protected]> Signed-off-by: kolchfa-aws <[email protected]> * Apply suggestions from code review Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: kolchfa-aws <[email protected]> * Add trailing slash to link Signed-off-by: Fanit Kolchina <[email protected]> --------- Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: Fanit Kolchina <[email protected]> Signed-off-by: kolchfa-aws <[email protected]> Co-authored-by: Fanit Kolchina <[email protected]> Co-authored-by: kolchfa-aws <[email protected]> Co-authored-by: Melissa Vagi <[email protected]> Co-authored-by: Nathan Bower <[email protected]>
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.