# /\_all/type/\_search doesn't work anymore?

**URL:** <https://discuss.elastic.co/t/-all-type--search-doesnt-work-anymore/8870>\
**Category:** Elasticsearch\
**Created:** [August 28, 2012, 7:42am UTC](https://discuss.elastic.co/t/-all-type--search-doesnt-work-anymore/8870 "2012-08-28T07:42:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Remi\_Pauchet](https://avatars.discourse-cdn.com/v4/letter/r/4491bb/32.png) [@Remi\_Pauchet](https://discuss.elastic.co/u/Remi_Pauchet)\
**Post date:** [August 28, 2012, 7:42am UTC](https://discuss.elastic.co/t/-all-type--search-doesnt-work-anymore/8870/1 "2012-08-28T07:42:50Z")

</div>

Hi,

I'm trying to perform a search on all the indices for a given type and I  
get a missing index error.

curl -XGET '[http://localhost:9200/\_all/log/\_search?q=user:john.doe](http://localhost:9200/_all/log/_search?q=user:john.doe)'  
{"error":"IndexMissingException[[\_all] missing]","status":404}

This syntax is described in the documentation :

[http://www.elasticsearch.org/guide/reference/api/search/indices-types.html](http://www.elasticsearch.org/guide/reference/api/search/indices-types.html)

curl -XGET '[http://localhost:9200/\_search?q=user:john.doe](http://localhost:9200/_search?q=user:john.doe)'

is working but on all types

Tested with 0.19.9. Is this the expected behaviour ? Is there another  
method to search on all indices for a type ?

Thanks for your support !

--

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 28, 2012, 8:01am UTC](https://discuss.elastic.co/t/-all-type--search-doesnt-work-anymore/8870/2 "2012-08-28T08:01:44Z")

</div>

It could be relative to this issue:

> <https://github.com/elastic/elasticsearch/issues/2205>
>
> curl http://localhost:9200/\_all/\_status
> {"error":"IndexMissingException\[\[\_all\] m…issing\]","status":404}
> 
> Works in 0.19.8
> 
> Looks like /\_status does work, is /\_all/\_status no longer supported on purpose? http://www.elasticsearch.org/guide/reference/api/admin-indices-status.html kind of says it should still work, but not clear.

[https://github.com/elasticsearch/elasticsearch/issues/2205](https://github.com/elasticsearch/elasticsearch/issues/2205)

HTH  
David

Le 28 août 2012 à 09:42, "Rémi Pauchet" [remi.pauchet@gmail.com](mailto:remi.pauchet@gmail.com) a écrit :

> Hi,
> 
> I'm trying to perform a search on all the indices for a given type and I get  
> a missing index error.
> 
> curl -XGET '[http://localhost:9200/\_all/log/\_search?q=user:john.doe](http://localhost:9200/_all/log/_search?q=user:john.doe)'  
> {"error":"IndexMissingException[[\_all] missing]","status":404}
> 
> This syntax is described in the documentation :
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/search/indices-types.html)
> 
> curl -XGET '[http://localhost:9200/\_search?q=user:john.doe](http://localhost:9200/_search?q=user:john.doe)'
> 
> is working but on all types
> 
> Tested with 0.19.9. Is this the expected behaviour ? Is there another method  
> to search on all indices for a type ?
> 
> Thanks for your support !
> 
> --

--  
David Pilato  
[http://www.scrutmydocs.org/](http://www.scrutmydocs.org/)  
[http://dev.david.pilato.fr/](http://dev.david.pilato.fr/)  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

--

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [August 28, 2012, 1:45pm UTC](https://discuss.elastic.co/t/-all-type--search-doesnt-work-anymore/8870/3 "2012-08-28T13:45:04Z")

</div>

Yes, it is the same bug.

On Aug 28, 2012, at 11:01 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:

> It could be relative to this issue: [0.19.9 no longer supports /\_all/\_status · Issue #2205 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/2205)
> 
> HTH  
> David
> 
> Le 28 août 2012 à 09:42, "Rémi Pauchet" [remi.pauchet@gmail.com](mailto:remi.pauchet@gmail.com) a écrit :
> 
> Hi,
> 
> I'm trying to perform a search on all the indices for a given type and I get a missing index error.
> 
> curl -XGET '[http://localhost:9200/\_all/log/\_search?q=user:john.doe](http://localhost:9200/_all/log/_search?q=user:john.doe)'  
> {"error":"IndexMissingException[[\_all] missing]","status":404}
> 
> This syntax is described in the documentation :
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/search/indices-types.html)
> 
> curl -XGET '[http://localhost:9200/\_search?q=user:john.doe](http://localhost:9200/_search?q=user:john.doe)'
> 
> is working but on all types
> 
> Tested with 0.19.9. Is this the expected behaviour ? Is there another method to search on all indices for a type ?
> 
> Thanks for your support !
> 
> --
> 
> --  
> David Pilato  
> [http://www.scrutmydocs.org/](http://www.scrutmydocs.org/)  
> [http://dev.david.pilato.fr/](http://dev.david.pilato.fr/)  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> --

--

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:14am UTC](https://discuss.elastic.co/t/-all-type--search-doesnt-work-anymore/8870/4 "2017-07-06T03:14:49Z")

</div>


