One way is to define an alias (and have your code query this alias) with a 
filter behind it. Then you can just change the alias filter definition 
dynamically as needed.

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-aliases.html#filtered

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/dcefc4ba-a959-45e7-9d25-ebf166005a47%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to