-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Support for nanoseconds in DateFormat #2676
Labels
type: enhancement
A general enhancement
Milestone
Comments
spring-projects-issues
added
the
status: waiting-for-triage
An issue we've not yet triaged
label
Aug 21, 2023
Elasticsearch documentation: https://www.elastic.co/guide/en/elasticsearch/reference/8.9/date_nanos.html |
sothawo
added
type: enhancement
A general enhancement
and removed
status: waiting-for-triage
An issue we've not yet triaged
labels
Aug 21, 2023
Yes, for elasticsearch it's clear, that this is supported. But in spring data elastic there is no DateFormat like strict_date_optional_time_nanos so using spring the nanoseconds are rounded to milliseconds |
sothawo
added a commit
to sothawo/spring-data-elasticsearch
that referenced
this issue
Sep 1, 2023
sothawo
added a commit
to sothawo/spring-data-elasticsearch
that referenced
this issue
Sep 2, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Elasticsearch supports dateformats with nanoseconds, but spring data elasticsearch doesn't support this:
https://docs.spring.io/spring-data/elasticsearch/docs/current/api/org/springframework/data/elasticsearch/annotations/DateFormat.html
Could that be supported in the near future?
We need this to sort realtime events, there multiple events are inbound during the same millisecond.
The text was updated successfully, but these errors were encountered: