GetIndexDocumentMetadataConfigurationUpdateRelevance constructor
const
GetIndexDocumentMetadataConfigurationUpdateRelevance({})
Creates a new GetIndexDocumentMetadataConfigurationUpdateRelevance.
duration Time period that the boost applies to. For more information, refer to Duration.
freshness How "fresh" a document is. For more information, refer to Freshness.
importance 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.
rankOrder Determines how values should be interpreted. For more information, refer to RankOrder.
valuesImportanceMap A list of values that should be given a different boost when they appear in the result list. For more information, refer to ValueImportanceMap.
Implementation
const GetIndexDocumentMetadataConfigurationUpdateRelevance({
required this.duration,
required this.freshness,
required this.importance,
required this.rankOrder,
required this.valuesImportanceMap,
});