Clarification of the query_total metric in the cluster nodes stats api

Hi,

In _cluster/nodes/stats what exactly does the
nodes/[node]/indices/search/query_total metric represent?

Is it:

  • the elasticsearch queries count as submitted by the http or java
    interface for that node?
  • the queries count for each shard on that node, for example, if one ES
    search query hits 4 shards on that node, the query_total will be
    incremented by 4

Thanks

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group, send email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hi Colin,

It's the queries count per shard, like in the example you gave.

Best regards,
Radu

http://sematext.com/ -- Elasticsearch -- Solr -- Lucene

On Mon, Jan 28, 2013 at 8:35 PM, Colin Surprenant <
colin.surprenant@gmail.com> wrote:

Hi,

In _cluster/nodes/stats what exactly does the
nodes/[node]/indices/search/query_total metric represent?

Is it:

  • the elasticsearch queries count as submitted by the http or java
    interface for that node?
  • the queries count for each shard on that node, for example, if one ES
    search query hits 4 shards on that node, the query_total will be
    incremented by 4

Thanks

--
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.

Thanks Radu. Right. So the "correct" definition would be query_total is the
total number of queries across all lucene instances of a node.

Colin

On Tuesday, January 29, 2013 2:35:10 AM UTC-5, Radu Gheorghe wrote:

Hi Colin,

It's the queries count per shard, like in the example you gave.

Best regards,
Radu

http://sematext.com/ -- Elasticsearch -- Solr -- Lucene

On Mon, Jan 28, 2013 at 8:35 PM, Colin Surprenant <colin.su...@gmail.com<javascript:>

wrote:

Hi,

In _cluster/nodes/stats what exactly does the
nodes/[node]/indices/search/query_total metric represent?

Is it:

  • the elasticsearch queries count as submitted by the http or java
    interface for that node?
  • the queries count for each shard on that node, for example, if one ES
    search query hits 4 shards on that node, the query_total will be
    incremented by 4

Thanks

--
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.