title: Elasticsearch query to get items that were modified more then an hour ago
body: <p>I have the following indexed items in elasticsearch.</p>
  <pre><code>{
   &quot;_index&quot;: &quot;test_index&quot;,
   &quot;type&quot;: &quot;_doc&quot;,
   &quot;_source&quot;: {
     &quot;someTitle&quot;: &quot;Thank you for your help&quot;,
     &quot;lastUpdated&quot;: 1640085989000}
  },
  {
   &quot;_index&quot;: &quot;test_index&quot;,
   &quot;type&quot;: &quot;_doc&quot;,
   &quot;_source&quot;: {
     &quot;someTitle&quot;: &quot;Thank you for your help&quot;,
     &quot;lastUpdated&quot;: 1640092916012
    }
  },
  {
   &quot;_index&quot;: &quot;test_index&quot;,
   &quot;type&quot;: &quot;_doc&quot;,
   &quot;_source&quot;: {
     &quot;someTitle&quot;: &quot;Thank you for your help&quot;,
     &quot;lastUpdated&quot;: 1640092916012
    }
  }
  
  </code></pre>
  <p>How to get the items that were updated more than an hour ago based on that <code>lastUpdated</code> value? I have been trying some solutions found in internet but most of them are for querying the string but not number field.</p>