Interface ExpandConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ExpandConfiguration.Builder,ExpandConfiguration>, SdkBuilder<ExpandConfiguration.Builder,ExpandConfiguration>, SdkPojo
Enclosing class:
ExpandConfiguration

public static interface ExpandConfiguration.Builder extends SdkPojo, CopyableBuilder<ExpandConfiguration.Builder,ExpandConfiguration>
  • Method Details

    • maxResultItemsToExpand

      ExpandConfiguration.Builder maxResultItemsToExpand(Integer maxResultItemsToExpand)

      The number of collapsed search result groups to expand. If you set this value to 10, for example, only the first 10 out of 100 result groups will have expand functionality.

      Parameters:
      maxResultItemsToExpand - The number of collapsed search result groups to expand. If you set this value to 10, for example, only the first 10 out of 100 result groups will have expand functionality.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxExpandedResultsPerItem

      ExpandConfiguration.Builder maxExpandedResultsPerItem(Integer maxExpandedResultsPerItem)

      The number of expanded results to show per collapsed primary document. For instance, if you set this value to 3, then at most 3 results per collapsed group will be displayed.

      Parameters:
      maxExpandedResultsPerItem - The number of expanded results to show per collapsed primary document. For instance, if you set this value to 3, then at most 3 results per collapsed group will be displayed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.