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 ' 
{"error":"IndexMissingException[[_all] missing]","status":404}
This syntax is described in the documentation :
http://www.elasticsearch.org/guide/reference/api/search/indices-types.html 
curl -XGET '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 !
--
             
            
               
               
               
            
            
           
          
            
              
                dadoonet  
                (David Pilato)
               
              
                  
                    August 28, 2012,  8:01am
                   
                   
              2 
               
             
            
              It could be relative to this issue:
  
  
    
  
  
    
    
      
        opened 09:55PM - 24 Aug 12 UTC 
      
        
          closed 11:18AM - 25 Aug 12 UTC 
        
      
     
    
        
          >bug
         
        
          v0.20.0.RC1
         
        
          v0.19.10
         
    
   
 
  
    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 
HTH 
David
Le 28 août 2012 à 09:42, "Rémi Pauchet" 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 ' 
{"error":"IndexMissingException[[_all] missing]","status":404}
This syntax is described in the documentation :
Elasticsearch Platform — Find real-time answers at scale | Elastic 
curl -XGET '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://dev.david.pilato.fr/  
Twitter : @dadoonet  / @elasticsearchfr  / @scrutmydocs 
--
             
            
               
               
               
            
            
           
          
            
              
                kimchy  
                (Shay Banon)
               
              
                  
                    August 28, 2012,  1:45pm
                   
                   
              3 
               
             
            
              Yes, it is the same bug.
On Aug 28, 2012, at 11:01 AM, David Pilato david@pilato.fr  wrote:
It could be relative to this issue: 0.19.9 no longer supports /_all/_status · Issue #2205 · elastic/elasticsearch · GitHub 
HTH 
David
Le 28 août 2012 à 09:42, "Rémi Pauchet" 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 ' 
{"error":"IndexMissingException[[_all] missing]","status":404}
This syntax is described in the documentation :
Elasticsearch Platform — Find real-time answers at scale | Elastic 
curl -XGET '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://dev.david.pilato.fr/  
Twitter : @dadoonet  / @elasticsearchfr  / @scrutmydocs 
--
 
--