_all does not work anymore in ES 0.19.9


(ruflin-2) #1

In elasticsearch 0.19.8 the following query works:

curl -XGET 'http://localhost:9200/_all/_search' -d
'{"query":{"match_all":{}}}'

In es 0.19.9 it returns:

{"error":"IndexMissingException[[_all] missing]","status":404}

The query that returns the expected result is (see the double slash)

curl -XGET 'http://localhost:9200//_search' -d '{"query":{"match_all":{}}}'

Is this as expected?

--


(Benjamin Devèze) #2

Hey,

yeah it is a known bug that is been fixed see
https://github.com/elasticsearch/elasticsearch/issues/2205 for more

On Wednesday, September 12, 2012 11:34:28 PM UTC+2, ruflin wrote:

In elasticsearch 0.19.8 the following query works:

curl -XGET 'http://localhost:9200/_all/_search' -d
'{"query":{"match_all":{}}}'

In es 0.19.9 it returns:

{"error":"IndexMissingException[[_all] missing]","status":404}

The query that returns the expected result is (see the double slash)

curl -XGET 'http://localhost:9200//_search' -d
'{"query":{"match_all":{}}}'

Is this as expected?

--


(ruflin-2) #3

Ok. Do you know if // is expected to work also in the near future as _all
replacement?

On Wednesday, September 12, 2012 11:53:43 PM UTC+2, Benjamin Devèze wrote:

Hey,

yeah it is a known bug that is been fixed see
https://github.com/elasticsearch/elasticsearch/issues/2205 for more

On Wednesday, September 12, 2012 11:34:28 PM UTC+2, ruflin wrote:

In elasticsearch 0.19.8 the following query works:

curl -XGET 'http://localhost:9200/_all/_search' -d
'{"query":{"match_all":{}}}'

In es 0.19.9 it returns:

{"error":"IndexMissingException[[_all] missing]","status":404}

The query that returns the expected result is (see the double slash)

curl -XGET 'http://localhost:9200//_search' -d
'{"query":{"match_all":{}}}'

Is this as expected?

--


(system) #4