Hello,
I'm planning a strategy for querying millions of docs :
What are the differences or advantages when using routing or aliasing?
-- 
You received this message because you are subscribed to the Google Groups "elasticsearch" group. 
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com . 
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/fb5ad148-3f23-409f-8fc0-b991eb0e73c1%40googlegroups.com . 
For more options, visit https://groups.google.com/d/optout .
             
            
               
               
               
            
            
           
          
            
              
                dadoonet  
                (David Pilato)
               
              
                  
                    December 1, 2014, 12:46pm
                   
                   
              2 
               
             
            
              Option 3: both.
Routing is "in which shard I want to send a doc or in which shards I want to run a search?"
Aliases are shortcuts to know in which indices/shards you want to query. It can be a simple list of indices and it may contain a routing key.
Alias with routing is a very good approach IMHO.
-- 
David  
Twitter : @dadoonet  / @elasticsearchfr  / @scrutmydocs 
Le 1 déc. 2014 à 13:49, Mohamed Hedi ABIDI abidimh@gmail.com  a écrit :
Hello,
I'm planning a strategy for querying millions of docs :
Option 1 - time based indexation + aliasing : explaned here => Elasticsearch Platform — Find real-time answers at scale | Elastic  
Option 2 - custom document routing : Explaned here => Elasticsearch Platform — Find real-time answers at scale | Elastic  
What are the differences or advantages when using routing or aliasing?
-- 
You received this message because you are subscribed to the Google Groups "elasticsearch" group. 
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com . 
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/fb5ad148-3f23-409f-8fc0-b991eb0e73c1%40googlegroups.com . 
For more options, visit https://groups.google.com/d/optout .
 
-- 
You received this message because you are subscribed to the Google Groups "elasticsearch" group. 
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com . 
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/D38CE760-3A29-4561-95DA-B66B8888F0BD%40pilato.fr . 
For more options, visit https://groups.google.com/d/optout .
             
            
               
               
               
            
            
           
          
            
            
              thanks David!
Le lundi 1 décembre 2014 13:46:48 UTC+1, David Pilato a écrit :
Option 3: both.
Routing is "in which shard I want to send a doc or in which shards I want 
to run a search?"
Aliases are shortcuts to know in which indices/shards you want to query. 
It can be a simple list of indices and it may contain a routing key.
Alias with routing is a very good approach IMHO.
-- 
David  
Twitter : @dadoonet  / @elasticsearchfr  / @scrutmydocs 
Le 1 déc. 2014 à 13:49, Mohamed Hedi ABIDI <abi...@gmail.com  <javascript:>> 
a écrit :
Hello,
I'm planning a strategy for querying millions of docs :
What are the differences or advantages when using routing or aliasing?
-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group. 
To unsubscribe from this group and stop receiving emails from it, send an 
email to elasticsearc...@googlegroups.com  <javascript:>. 
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/fb5ad148-3f23-409f-8fc0-b991eb0e73c1%40googlegroups.com  
https://groups.google.com/d/msgid/elasticsearch/fb5ad148-3f23-409f-8fc0-b991eb0e73c1%40googlegroups.com?utm_medium=email&utm_source=footer  
. 
For more options, visit https://groups.google.com/d/optout .
 
-- 
You received this message because you are subscribed to the Google Groups "elasticsearch" group. 
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com . 
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/d9e5f0f8-cf8a-4bba-bd5a-081210712e94%40googlegroups.com . 
For more options, visit https://groups.google.com/d/optout .