/_stats endpoint not showing closed indices?

Hello all,

Just need confirmation in that when an index is marked as 'closed', it does
not seem to appear in either "/_status" or "/_stats" API responses?

The only mention of closed indices is found under "/_cluster/state" as

blocks:
{

  • indices:
    {

Is it by design that they should not appear on either indices listing?

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

Roy Russo wrote:

Just need confirmation in that when an index is marked as
'closed', it does not seem to appear in either "/_status" or
"/_stats" API responses?

[...]

Is it by design that they should not appear on either indices
listing?

Yes. A closed index is invisible to ES. It doesn't maintain any
stats or otherwise look at it until you open it again.

Drew

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

As a note, perhaps the guide should be updated to reflect this... that the
index listing excludes closed indices.

On Wednesday, May 22, 2013 6:18:46 PM UTC-4, Drew Raines wrote:

Roy Russo wrote:

Just need confirmation in that when an index is marked as
'closed', it does not seem to appear in either "/_status" or
"/_stats" API responses?

[...]

Is it by design that they should not appear on either indices
listing?

Yes. A closed index is invisible to ES. It doesn't maintain any
stats or otherwise look at it until you open it again.

Drew

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