Got the solution.map.put("daterange.property", "date"); //Since the property name is date as per your image.map.put("daterange.lowerBound", year + "-01-01"); //First day of the yearmap.put("daterange.upperBound", year + "-12-31"); //Last day of the year