Interface RerankingMetadataSelectiveModeConfiguration.Builder

    • Method Detail

      • fieldsToInclude

        RerankingMetadataSelectiveModeConfiguration.Builder fieldsToInclude​(Collection<FieldForReranking> fieldsToInclude)

        A list of metadata field names to explicitly include in the reranking process. Only these fields will be considered when reordering search results. This parameter cannot be used together with fieldsToExclude.

        Parameters:
        fieldsToInclude - A list of metadata field names to explicitly include in the reranking process. Only these fields will be considered when reordering search results. This parameter cannot be used together with fieldsToExclude.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fieldsToInclude

        RerankingMetadataSelectiveModeConfiguration.Builder fieldsToInclude​(FieldForReranking... fieldsToInclude)

        A list of metadata field names to explicitly include in the reranking process. Only these fields will be considered when reordering search results. This parameter cannot be used together with fieldsToExclude.

        Parameters:
        fieldsToInclude - A list of metadata field names to explicitly include in the reranking process. Only these fields will be considered when reordering search results. This parameter cannot be used together with fieldsToExclude.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fieldsToExclude

        RerankingMetadataSelectiveModeConfiguration.Builder fieldsToExclude​(Collection<FieldForReranking> fieldsToExclude)

        A list of metadata field names to explicitly exclude from the reranking process. All metadata fields except these will be considered when reordering search results. This parameter cannot be used together with fieldsToInclude.

        Parameters:
        fieldsToExclude - A list of metadata field names to explicitly exclude from the reranking process. All metadata fields except these will be considered when reordering search results. This parameter cannot be used together with fieldsToInclude.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fieldsToExclude

        RerankingMetadataSelectiveModeConfiguration.Builder fieldsToExclude​(FieldForReranking... fieldsToExclude)

        A list of metadata field names to explicitly exclude from the reranking process. All metadata fields except these will be considered when reordering search results. This parameter cannot be used together with fieldsToInclude.

        Parameters:
        fieldsToExclude - A list of metadata field names to explicitly exclude from the reranking process. All metadata fields except these will be considered when reordering search results. This parameter cannot be used together with fieldsToInclude.
        Returns:
        Returns a reference to this object so that method calls can be chained together.