-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add support for key_as_string for term aggregation #836
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
Comments
Actually, will help further if we provide a way to return the key value as a .net DateTime object. |
@ppf2, the reason for skipping I agree we should support Thanks for reporting this! |
@gmarz thx! |
@ppf2 no problem. Also, on second thought, in regards to providing a way to retrieve a key as What do you think? |
@ppf2 closing this unless you have any objections to the above. Feel free to re-open if so. |
The REST API term aggregation returns key_as_string as a "friendly" timestamp in addition to key (epoch time) in the response. But key_as_string is getting skipped in NEST. Would be nice to add key_as_string to KeyItem so that it can be retrieved as a field from KeyItem along with Key and DocCount.
The text was updated successfully, but these errors were encountered: