I was wondering whether there is a proper Utility class to parse the given
values and get the duration in milliseconds probably for values such as 1m
(which means 1 minute) 1q (which means 1 quarter) etc.
I have found that elasticsearch utilizes class TimeValue but it only parses
up to week, and values such as WEEK, HOUR are not accepted. So is in
elasticsearch source any utility class that does the job ? (for Histograms,
ranges wherever is needed)
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/12ff6fbe-4d0e-4e8a-aa74-356311512b3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.