hi there,
I have this query which works properly:
{
   "query":{
      "bool":{
         "should":[
            {
               "match":{
                  "Name":"calla"
               }
            }
         ]
      }
   }
}
but when I add a filter to it:
{
   "query":{
      "bool":{
         "filter":{
            "bool":{
               "must_not":[
                  {
                     "term":{
                        "tid":"CALLID1"
                     }
                  }
               ]
            }
         },
         "should":[
            {
               "match":{
                  "Name":"calla"
               }
            }
         ]
      }
   }
}
it returns everything, looks like to me that the should query acts like a match_all. It works fine if I change from should to must. So is it what I should expect or is it a bug