RerankingMetadataSelectiveModeConfiguration

Configuration for selectively including or excluding metadata fields during the reranking process. This allows you to control which metadata attributes are considered when reordering search results.

Inheritors

Types

Link copied to clipboard

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.

Link copied to clipboard

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.

Functions

Link copied to clipboard

Casts this RerankingMetadataSelectiveModeConfiguration as a FieldsToExclude and retrieves its kotlin.collections.List value. Throws an exception if the RerankingMetadataSelectiveModeConfiguration is not a FieldsToExclude.

Link copied to clipboard

Casts this RerankingMetadataSelectiveModeConfiguration as a FieldsToExclude and retrieves its kotlin.collections.List value. Returns null if the RerankingMetadataSelectiveModeConfiguration is not a FieldsToExclude.

Link copied to clipboard

Casts this RerankingMetadataSelectiveModeConfiguration as a FieldsToInclude and retrieves its kotlin.collections.List value. Throws an exception if the RerankingMetadataSelectiveModeConfiguration is not a FieldsToInclude.

Link copied to clipboard

Casts this RerankingMetadataSelectiveModeConfiguration as a FieldsToInclude and retrieves its kotlin.collections.List value. Returns null if the RerankingMetadataSelectiveModeConfiguration is not a FieldsToInclude.