title: elasticsearch use "now" function
body: <p>I index a document with date value current datetime in marvel.</p>
  
  <pre><code>{
                 "category": "27",
                 "action": "BLOCKED",
                 "url": "https://www.deneme.com/favicon.ico",
                 "loggingdate": "26/01/2016 16:50:55",
                 "clientip": "10.6.1.155"
  }
  </code></pre>
  
  <p>"26/01/2016 16:59:55", its the time at the moment..
  and expect get this document with this query:</p>
  
  <pre><code>{  
    "size":"10",
    "query":{  
      "filtered":{  
        "filter":{  
          "bool":{  
            "must":[  
              {  
                "exists":{  
                  "field":"category"
                }
              },
              {  
                "term":{  
                  "action":"BLOCKED"
                }
              },
              {  
                "range":{  
                  "loggingdate":{  
                    "gt":"now-20s"
                  }
                }
              }
            ]
          }
        }
      }
    }
  }
  </code></pre>
  
  <p>but returns nothing cant undertood reason..</p>
  
  <p>if I get it with id:</p>
  
  <pre><code>{
     "_index": "webproxylog",
     "_type": "accesslog",
     "_id": "AVJ-iNlwfezuz1HM981V",
     "_version": 2,
     "found": true,
     "_source": {
        "category": "27",
        "action": "BLOCKED",
        "url": "https://www.deneme.com/favicon.ico",
        "loggingdate": "26/01/2016 16:50:55",
        "clientip": "10.6.1.155"
     }
  }
  </code></pre>