Class: Aws::Kendra::Types::DocumentMetadataConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb

Overview

Note:

When making an API call, you may pass DocumentMetadataConfiguration data as a hash:

{
  name: "DocumentMetadataConfigurationName", # required
  type: "STRING_VALUE", # required, accepts STRING_VALUE, STRING_LIST_VALUE, LONG_VALUE, DATE_VALUE
  relevance: {
    freshness: false,
    importance: 1,
    duration: "Duration",
    rank_order: "ASCENDING", # accepts ASCENDING, DESCENDING
    value_importance_map: {
      "ValueImportanceMapKey" => 1,
    },
  },
  search: {
    facetable: false,
    searchable: false,
    displayable: false,
    sortable: false,
  },
}

Specifies the properties of a custom index field.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the index field.

Returns:

  • (String)


2483
2484
2485
2486
2487
2488
2489
2490
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 2483

class DocumentMetadataConfiguration < Struct.new(
  :name,
  :type,
  :relevance,
  :search)
  SENSITIVE = []
  include Aws::Structure
end

#relevanceTypes::Relevance

Provides manual tuning parameters to determine how the field affects the search results.

Returns:



2483
2484
2485
2486
2487
2488
2489
2490
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 2483

class DocumentMetadataConfiguration < Struct.new(
  :name,
  :type,
  :relevance,
  :search)
  SENSITIVE = []
  include Aws::Structure
end

#searchTypes::Search

Provides information about how the field is used during a search.

Returns:



2483
2484
2485
2486
2487
2488
2489
2490
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 2483

class DocumentMetadataConfiguration < Struct.new(
  :name,
  :type,
  :relevance,
  :search)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The data type of the index field.

Returns:

  • (String)


2483
2484
2485
2486
2487
2488
2489
2490
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 2483

class DocumentMetadataConfiguration < Struct.new(
  :name,
  :type,
  :relevance,
  :search)
  SENSITIVE = []
  include Aws::Structure
end