Class GeoQueryContext.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • setBoost

        public GeoQueryContext.Builder setBoost​(int boost)
        Sets the query-time boost for the context Defaults to 1
      • setPrecision

        public GeoQueryContext.Builder setPrecision​(int precision)
        Sets the precision level for computing the geohash from the context geo point. Defaults to using index-time precision level
      • setNeighbours

        public GeoQueryContext.Builder setNeighbours​(List<Integer> neighbours)
        Sets the precision levels at which geohash cells neighbours are considered. Defaults to only considering neighbours at the index-time precision level