I was reading this blog post about filter bitsets
http://www.elasticsearch.org/blog/all-about-elasticsearch-filter-bitsets/

At the end, the conclusion is that the bool filter should be used for 
everything but geo, numeric range and custom script. However the example 
query at the end seems to include a range in the bool filter. Is this a 
typo or am I missing something? Also what about query filters? I would 
assume those wouldn't go in the bool filter either?

{
  "and" : [
    {
      "bool" : {
        "must" : [
          { "term" : {} },
          { "range" : {} },
          { "term" : {} }
        ]
      }
    },
    { "custom_script" : {} },
    { "geo_distance" : {} }
  ]
}

-- 
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/4c50efe8-dce3-4cfc-a78f-ab0417884201%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to