Reading

http://www.elasticsearch.org/blog/all-about-elasticsearch-filter-bitsets/

it looks like the bool filter is the way to go when using a certain
combination of filters.

But what if it's only one filter, which is cached, and presumably a
bitset filter?

I'm talking about the "MissingField" filter.

should this

{
  "bool":  {
      "must": {
          { "missing": {"field": "out_of_stock", "existence": True}}
      }
   }
}

performs better than

{
    "missing": {
        "field": "out_of_stock",
        "existence": True
     }
}

I just got a bit confused with the blog post. I think they both should
perform the same.
-- 
uh, oh.

-- 
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/CAKNaH0UwiXt%2BKD%2BBc3jNJWBCiYx83851qj%3DwtHM9geQKs6XzNg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to