Admin Indices API: Type Level Stats

Hi all,

Ss the example shows in
http://www.elasticsearch.org/guide/reference/api/admin-indices-stats/, one
should be able to do the following:

Get back stats for type1 and type2 documents for the my_index index

curl
'localhost:9200/my_index/_stats?clear=true&indexing=true&types=type1,type2

where, types "provide[s] document type level stats."

However, at least on 0.20.2, this just seems to return the exact same
response as issuing:

Get back stats

curl 'localhost:9200/my_index/_stats

Is that to be expected?

I'm trying to get storage level statistics for each of the types in my
index. Is that currently supported?

Cheers!

Bob

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

Store stats cannot are not divided by type. Records of all types indexed in
the same lucene index, so dividing store stats by types is somewhat
meaningless. Check indexing stats, they should have types subcategories.

On Wednesday, April 17, 2013 9:14:27 PM UTC-4, btiernay wrote:

Hi all,

Ss the example shows in
Elasticsearch Platform — Find real-time answers at scale | Elastic,
one should be able to do the following:

Get back stats for type1 and type2 documents for the my_index index

curl
'localhost:9200/my_index/_stats?clear=true&indexing=true&types=type1,type2

where, types "provide[s] document type level stats."

However, at least on 0.20.2, this just seems to return the exact same
response as issuing:

Get back stats

curl 'localhost:9200/my_index/_stats

Is that to be expected?

I'm trying to get storage level statistics for each of the types in my
index. Is that currently supported?

Cheers!

Bob

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

I was hoping that ES somehow could track this, but that was my suspicion.
Thanks Igor, much appreciated!

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