Should in filtered query

Please format your code using </> icon as explained in this guide. It will make your post more readable.

I'm editing your post.

I think it's correct because should is not mandatory here as you have another condition which is the filter part.

So if should clause match, you will have a better score than without.

I'd put both in filter in that case. Like:

GET smsc_logs-2017.01.09/_search
{
  "query": {
    "bool": {
      "filter": [
        {
          "wildcard": {
            "path": "/home/GEMS/ES/CDR/Delivery/SMSCDR_DEL_ATTEMPT_16051810*.log"
          }
        },{
          "term": {
            "RecordType": "DelAck"
          }
        }
      ]
    }
  }
}