0 Replies Latest reply on Mar 3, 2016 11:28 AM by drathnow

    How to search for maximum index value (Date field)

    drathnow

      I have a cache that contains indexed entities that contain a Date field:

       

      @Indexed

      public class Device implements Serializable {

         

          @Field

          private String nuid;

          @Field

          private Date lastUpdateTime;

      }


      Is it possible to use search the cache for the maximum lastUpdateTime?