No Information about index with _cat


#1

Hello,

I get information about the status of my indices using: curl 'localhost:9200/_cat/indices?v'

It all was working fine until I did the last insertion of 500K documents to one of my indices. Apparently, the insertion went fine; however, I can no more see any info about this index.

Here is what I get with the cat command:

Any ideas?

Thank you!


(Mike Simos) #2

Can you try:

curl http://localhost:9200/yourindex/_stats?pretty

Does this return anything?


#3

Thank you for replying @msimos

It returns:

{
"_shards" : {
"total" : 2,
"successful" : 0,
"failed" : 0
},
"_all" : {
"primaries" : { },
"total" : { }
},
"indices" : { }
}

But I know there is data in there, around 6M docs


(Mike Simos) #4

If you do:

GET /yourindex/_search
{
"query": {
"match_all": {}
}
}

What does total say under hits.


#5

it says:

{"error":"SearchPhaseExecutionException[Failed to execute phase [query], all shards failed]","status":503}


(system) #6