Interface Bucket.Builder

    • Method Detail

      • value

        Bucket.Builder value​(String value)

        The facet value being counted.

        Parameters:
        value - The facet value being counted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • count

        Bucket.Builder count​(Long count)

        The number of hits that contain the facet value in the specified facet field.

        Parameters:
        count - The number of hits that contain the facet value in the specified facet field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.