Class: Aws::CloudSearch::Types::AnalysisScheme

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudsearch/types.rb

Overview

Note:

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

{
  analysis_scheme_name: "StandardName", # required
  analysis_scheme_language: "ar", # required, accepts ar, bg, ca, cs, da, de, el, en, es, eu, fa, fi, fr, ga, gl, he, hi, hu, hy, id, it, ja, ko, lv, mul, nl, no, pt, ro, ru, sv, th, tr, zh-Hans, zh-Hant
  analysis_options: {
    synonyms: "String",
    stopwords: "String",
    stemming_dictionary: "String",
    japanese_tokenization_dictionary: "String",
    algorithmic_stemming: "none", # accepts none, minimal, light, full
  },
}

Configuration information for an analysis scheme. Each analysis scheme has a unique name and specifies the language of the text to be processed. The following options can be configured for an analysis scheme: ‘Synonyms`, `Stopwords`, `StemmingDictionary`, `JapaneseTokenizationDictionary` and `AlgorithmicStemming`.

Instance Attribute Summary collapse

Instance Attribute Details

#analysis_optionsTypes::AnalysisOptions

Synonyms, stopwords, and stemming options for an analysis scheme. Includes tokenization dictionary for Japanese.



150
151
152
153
154
155
# File 'lib/aws-sdk-cloudsearch/types.rb', line 150

class AnalysisScheme < Struct.new(
  :analysis_scheme_name,
  :analysis_scheme_language,
  :analysis_options)
  include Aws::Structure
end

#analysis_scheme_languageString

An [IETF RFC 4646] language code or ‘mul` for multiple languages.

[1]: tools.ietf.org/html/rfc4646

Returns:

  • (String)


150
151
152
153
154
155
# File 'lib/aws-sdk-cloudsearch/types.rb', line 150

class AnalysisScheme < Struct.new(
  :analysis_scheme_name,
  :analysis_scheme_language,
  :analysis_options)
  include Aws::Structure
end

#analysis_scheme_nameString

Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).

Returns:

  • (String)


150
151
152
153
154
155
# File 'lib/aws-sdk-cloudsearch/types.rb', line 150

class AnalysisScheme < Struct.new(
  :analysis_scheme_name,
  :analysis_scheme_language,
  :analysis_options)
  include Aws::Structure
end