IndexDocumentMetadataConfigurationUpdateRelevance

data class IndexDocumentMetadataConfigurationUpdateRelevance(val duration: String? = null, val freshness: Boolean? = null, val importance: Int? = null, val rankOrder: String? = null, val valuesImportanceMap: Map<String, Int>? = null)

Constructors

constructor(duration: String? = null, freshness: Boolean? = null, importance: Int? = null, rankOrder: String? = null, valuesImportanceMap: Map<String, Int>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val duration: String? = null

Specifies the time period that the boost applies to. For more information, refer to Duration.

Link copied to clipboard
val freshness: Boolean? = null

Indicates that this field determines how "fresh" a document is. For more information, refer to Freshness.

Link copied to clipboard
val importance: Int? = null

The relative importance of the field in the search. Larger numbers provide more of a boost than smaller numbers. Minimum value of 1. Maximum value of 10.

Link copied to clipboard
val rankOrder: String? = null

Determines how values should be interpreted. For more information, refer to RankOrder.

Link copied to clipboard

A list of values that should be given a different boost when they appear in the result list. For more information, refer to ValueImportanceMap.