Interface DoubleArrayOptions.Builder

    • Method Detail

      • defaultValue

        DoubleArrayOptions.Builder defaultValue​(Double defaultValue)
        A value to use for the field if the field isn't specified for a document.
        Parameters:
        defaultValue - A value to use for the field if the field isn't specified for a document.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceFields

        DoubleArrayOptions.Builder sourceFields​(String sourceFields)

        A list of source fields to map to the field.

        Parameters:
        sourceFields - A list of source fields to map to the field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • facetEnabled

        DoubleArrayOptions.Builder facetEnabled​(Boolean facetEnabled)

        Whether facet information can be returned for the field.

        Parameters:
        facetEnabled - Whether facet information can be returned for the field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • searchEnabled

        DoubleArrayOptions.Builder searchEnabled​(Boolean searchEnabled)

        Whether the contents of the field are searchable.

        Parameters:
        searchEnabled - Whether the contents of the field are searchable.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • returnEnabled

        DoubleArrayOptions.Builder returnEnabled​(Boolean returnEnabled)

        Whether the contents of the field can be returned in the search results.

        Parameters:
        returnEnabled - Whether the contents of the field can be returned in the search results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.