Re: upgrade a 48-node cluster with minimal downtime ?

2014-02-14 Thread Colin Surprenant
Hey! If I may chime in, you probably want to look into Ansible which offers very efficient and simple *automation* facilities which other *provisioning* tools like Chef & Puppet don't really have. I am not affiliated with Ansible, I just recently had a "ah-ah!" moment with it for exactly this k

Re: how to search on number of nested terms matches?

2014-02-12 Thread Colin Surprenant
The number of categories is finite and relatively low count. As you are suggesting, querying for all combinations is an option as well as precomputing. I wanted to see if there was a way to do it efficiently at query time. Thanks, Colin On Wednesday, February 12, 2014 8:36:44 AM UTC-5, Binh L

how to search on number of nested terms matches?

2014-02-11 Thread Colin Surprenant
I am trying to figure if/how it is possible to craft a specific query using nested objects: For example, given a simple author with nested books mapping: { "author":{ "properties" : { "name" : { "type" : "string" }, "books" : { "type" : "nested", "properties" :