I'm using a terms_stats facet to sum timestamps over a search period. Its
wacky but fun. The result I'm getting back looks like this:
"facets" : {
"elapsed_time" : {
"_type" : "terms_stats",
"missing" : 0,
"terms" : [ {
"term" : "term_I_wanted",
"count" : 318,
"total_count" : 318,
"min" : -5928.0,
"max" : 126417.0,
"total" : 2.4781647E7,
"mean" : 77929.7075471698
}
the total field in the returned document is using scientific notation for
any amount over 7 digits. I would like it to never switch to that format.
Is there a parameter I can set to force that behavior?
Thanks,
Pat
Hey, I'm interested in the same problem. Did you find any answer?
Thanks
On Friday, July 13, 2012 9:32:28 PM UTC+3, Pat Christopher wrote:
I'm using a terms_stats facet to sum timestamps over a search period. Its
wacky but fun. The result I'm getting back looks like this:
"facets" : {
"elapsed_time" : {
"_type" : "terms_stats",
"missing" : 0,
"terms" : [ {
"term" : "term_I_wanted",
"count" : 318,
"total_count" : 318,
"min" : -5928.0,
"max" : 126417.0,
"total" : 2.4781647E7,
"mean" : 77929.7075471698
}
the total field in the returned document is using scientific notation for
any amount over 7 digits. I would like it to never switch to that format.
Is there a parameter I can set to force that behavior?
Thanks,
Pat
--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Sadly I did not. I was subtracting the sum field by another number within
about ten thousand. I was calculating rolling averages over time boxed
windows. I was able to rearrange the math to never hit these absurdly large
numbers.
Sorry I couldn't help,
Pat
On Mar 19, 2013 4:06 AM, "Juuso Kosonen" juuson@gmail.com wrote:
Hey, I'm interested in the same problem. Did you find any answer?
Thanks
On Friday, July 13, 2012 9:32:28 PM UTC+3, Pat Christopher wrote:
I'm using a terms_stats facet to sum timestamps over a search period.
Its wacky but fun. The result I'm getting back looks like this:
"facets" : {
"elapsed_time" : {
"_type" : "terms_stats",
"missing" : 0,
"terms" : [ {
"term" : "term_I_wanted",
"count" : 318,
"total_count" : 318,
"min" : -5928.0,
"max" : 126417.0,
"total" : 2.4781647E7,
"mean" : 77929.7075471698
}
the total field in the returned document is using scientific notation for
any amount over 7 digits. I would like it to never switch to that format.
Is there a parameter I can set to force that behavior?
Thanks,
Pat
--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/6os5fixTH4E/unsubscribe?hl=en-US
.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.