Hi,
I am tinkering with elasticsearch 1.0.0RC1 for a bit. Especially the part
of aggregations. When looking closer to the responses of the aggregations I
noticed the numbers fluctuated all the time.
I have an index:
shards: 10
replicas: 0
documents: ~1M
Currently I'm not ingesting data anymore.
When I try to recreate the terms facet in aggregations I came up with the
following:
{
"size": 0,
"facets": {
"participants": {
"terms": {
"field": "actor.displayName",
"size": 10
}
}
},
"aggs": {
"participants": {
"terms": {
"field": "actor.displayName",
"size": 10
}
}
}
}
This should give me roundabout the top 10
(*<https://github.com/elasticsearch/elasticsearch/issues/1305>)
occurring terms in the 'actor.displayName' field. The terms facet gives the
same counts over and over again, which is what is expected. However, the
counts from the aggregations return different numbers every time I invoke
it. Results of 3 consecutive runs: https://gist.github.com/thanodnl/8733837.
Currently I'm reindexing all the documents in an index with only one shard
to see if that makes a difference.
This would only solve the problem short term, but our production load is
too big to fit in one shard.
-- Nils
--
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 protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/49fe3127-84a1-43d6-a298-6e70ee9d038e%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.