title: Date Filter on elastic search
body: <p>I'm trying to create a Range Filter on elastic search using the following syntax:</p>
  
  <pre><code>{
  "size": 100,
  "filter": {
  "and": {
    "filters": [
      {
        "range": {
          "listingDate": {
            "gt": "15/07/2017 16:08:53"
          }
        }
      }
    ]
  }
  }
  }
  </code></pre>
  
  <p>The data format is: </p>
  
  <pre><code>"listingDate": "07/07/2015 09:30:00",
  </code></pre>
  
  <p>However regardless of the filter properties the same incorrect results are being returned by elastic search.  I have tried adding the following format: </p>
  
  <pre><code>"format": "dd/MM/yyyy HH:mm:ss"
  </code></pre>
  
  <p>but I get the same incorrect results. </p>
  
  <p>A fuller example is: </p>
  
  <pre><code>{
  "size": 100,
  "sort": [
  {
    "listingDate": {
      "order": "asc"
    }
  }
  ],
  "query": {
  "bool": {
    "must": [
      {
        "query_string": {
          "query": "Event"
        }
      },
      {
        "range": {
          "listingDate": {
            "gte": "15/07/2015 16:08:53"
          }
        }
      },
      {
        "range": {
          "endDate": {
            "gte": "15/07/2015 16:08:53"
          }
        }
      }
    ]
  }
  },
  "filter": {
  "and": {
    "filters": [
      {
        "terms": {
          "departments": [
            "2393"
          ]
        }
      }
    ]
  }
  }
  } 
  </code></pre>