Interface IntArrayOptions.Builder

  • Method Details

    • defaultValue

      IntArrayOptions.Builder defaultValue(Long 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

      IntArrayOptions.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

      IntArrayOptions.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

      IntArrayOptions.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

      IntArrayOptions.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.