IndexDocumentMetadataConfigurationUpdateRelevanceArgs

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

Constructors

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

Properties

Link copied to clipboard
val duration: Output<String>? = null

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

Link copied to clipboard
val freshness: Output<Boolean>? = null

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

Link copied to clipboard
val importance: Output<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: Output<String>? = null

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

Link copied to clipboard
val valuesImportanceMap: Output<Map<String, Int>>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): IndexDocumentMetadataConfigurationUpdateRelevanceArgs