title: ElasticSearch query filter not working
body: <p>My intent is to fetch records matching a specified date range and uuid (Unique User ID). The query seems to fail:
  <a href="https://i.stack.imgur.com/sjPjb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sjPjb.png" alt="screenshot of UUID based search query and result"></a></p>
  
  <p>If I try the same query with username then it works.</p>
  
  <p><a href="https://i.stack.imgur.com/M3PEt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/M3PEt.png" alt="screenshot of Name based search query and result"></a></p>
  
  <p>I suspected the <code>:</code> character in the search string and tried escaping it with a <code>\</code> but it still didn't work.</p>
  
  <p>What could be the problem ?</p>
  
  <p>The mappings are:</p>
  
  <pre><code>{
    "top_flows": {
      "mappings": {
        "top flows": {
          "properties": {
            "name": {
              "type": "string"
            },
            "postDate": {
              "type": "date",
              "format": "strict_date_optional_time||epoch_millis"
            },
            "uuid": {
              "type": "string"
            }
          }
        }
      }
    }
  }
  </code></pre>
  
  <p>The JSON document being added into elasticsearch is:</p>
  
  <pre><code>doc = {
                          'postDate': timestamp_str,
                          'uuid': uuid,
                          'name': 'sam'
  }
  timestamp = time.time()
  timestamp_str = datetime.fromtimestamp(timestamp).strftime('%Y-%m-%dT%H:%M:%S')
  res = self.__eshandle.index(index="top_flows", doc_type='top flows', id=int(timestamp), body=doc)
  </code></pre>