Nik,

Sorry for the confusion. The recovery API is meant to show the most recent 
recovery for each shard, as well as active recoveries. I'll see if we can 
improve the documentation around this. 

To see only active, on-going recoveries, use the active_only flag. For example: 
curl -XGET 'localhost:9200/_cat/recovery?active_only=true&v'. Additionally, 
it's possible to get file-level recovery detail by using the JSON version of 
the recovery API [1]. Try hitting this in your browser: 
http://localhost:9200/_recovery?pretty=true&human=true&detailed=true&active_only=true.

Cheers,
Andrew

1. 
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-recovery.html


On Apr 10, 2014, at 12:09 PM, Nikolas Everett <[email protected]> wrote:

> Is it right that _all_ my shards are showing up in /_cat/recovery?
> 
> It looks like every one of them is marked "done".  It is cool to be able to 
> see the last replication, as well as the relatively huge cost of relocation 
> while writing but it isn't what I expected reading the docs. 
> 
> Example:
> enwiki_general_1395839834                    18    1796552 relocation done  
> elastic1003 elastic1015 n/a        n/a      399   100.0%        9361018254  
> 205630.5%     
> 
> Elasticsearch 1.1.0, btw.
> 
> Nik
> 
> -- 
> 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/CAPmjWd156B1qypfQNM-7B1UTyZykOR%2BQs1VLTbWe%3D28VV%3Dx%3DsQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/3EB94680-3A74-47F7-A177-8304F83D030F%40elasticsearch.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to