IndexDocumentMetadataConfigurationUpdateRelevance constructor

const IndexDocumentMetadataConfigurationUpdateRelevance({
  1. Input<String?>? duration,
  2. Input<bool?>? freshness,
  3. Input<int?>? importance,
  4. Input<String?>? rankOrder,
  5. Input<Map<String, int>?>? valuesImportanceMap,
})

Creates a new IndexDocumentMetadataConfigurationUpdateRelevance. duration Specifies the time period that the boost applies to. For more information, refer to Duration. freshness Indicates that this field determines how "fresh" a document is. For more information, refer to Freshness. importance 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. 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 IndexDocumentMetadataConfigurationUpdateRelevance({
  this.duration,
  this.freshness,
  this.importance,
  this.rankOrder,
  this.valuesImportanceMap,
});