title: How to filter an index by the maximum value of a field?
body: <p>There is a field in the index by the name of date but the data of that field is not in a proper date format its only a number. So I want a filter to include only the data of maximum data of date field I mean how to create a filter which finds the maximum value of the date field and filter the index based upon that value.</p>