Listing Indices

(Bala Paranj) #1

When I run command to list indices:

 curl 'localhost:9200/_cat/indices?v'

I am getting the error:

No handler found for uri [/_cat/indices?v] and method [GET]

Elasticsearch version:

 curl -X GET http://localhost:9200/
  "ok" : true,
  "status" : 200,
  "name" : "li552-13",
  "version" : {
    "number" : "0.90.12",
    "build_hash" : "26feed79983063ae83bfa11bd4ce214b1f45c884",
    "build_timestamp" : "2014-02-25T15:38:23Z",
    "build_snapshot" : false,
    "lucene_version" : "4.6"
  "tagline" : "You Know, for Search"

(David Pilato) #2

_cat has been introduced later.

You really need to upgrade. :grin:

(Bala Paranj) #3

I am in the process of upgrading. I am currently in 1.x. I am following the
instructions to upgrade. I have installed the plugin as suggested. How do I
list the indices?

(Bala Paranj) #4

I don't care about downtime. I want to delete the old data and upgrade to
5.x from 1.x. How can I do that? The documentation is recommending me to
migrate gradually. TIA.

(David Pilato) #5

I'd try using a reindex from remote strategy which is available in 5.x

(system) #6

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.