Class GeoDistanceSearchQuerySort

    • Constructor Detail

      • GeoDistanceSearchQuerySort

        public GeoDistanceSearchQuerySort​(DocumentTypeField field,
                                          GeoPoint pin,
                                          SearchQuerySort.Order order)
        Creates a new instance.
        Parameters:
        field - the field to be used to calculate the geo distance to the given point.
        pin - the point.
        order - the order.
        Since:
        9.0.0
    • Method Detail

      • getPin

        public GeoPoint getPin()
        Returns the pin.
        Returns:
        the pin
        Since:
        9.0.0
      • getField

        public DocumentTypeField getField()
        Returns the field.
        Returns:
        the field
        Since:
        9.0.0