Skip to content

/AWS1/CL_SRHANALYSISSCHEME

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.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_analysisschemename TYPE /AWS1/SRHSTANDARDNAME /AWS1/SRHSTANDARDNAME

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

iv_analysisschemelanguage TYPE /AWS1/SRHALYSCHEMELANGUAGE /AWS1/SRHALYSCHEMELANGUAGE

An IETF RFC 4646 language code or mul for multiple languages.

Optional arguments:

io_analysisoptions TYPE REF TO /AWS1/CL_SRHANALYSISOPTIONS /AWS1/CL_SRHANALYSISOPTIONS

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


Queryable Attributes

AnalysisSchemeName

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

Accessible with the following methods

Method Description
GET_ANALYSISSCHEMENAME() Getter for ANALYSISSCHEMENAME, with configurable default
ASK_ANALYSISSCHEMENAME() Getter for ANALYSISSCHEMENAME w/ exceptions if field has no
HAS_ANALYSISSCHEMENAME() Determine if ANALYSISSCHEMENAME has a value

AnalysisSchemeLanguage

An IETF RFC 4646 language code or mul for multiple languages.

Accessible with the following methods

Method Description
GET_ANALYSISSCHEMELANGUAGE() Getter for ANALYSISSCHEMELANGUAGE, with configurable default
ASK_ANALYSISSCHEMELANGUAGE() Getter for ANALYSISSCHEMELANGUAGE w/ exceptions if field has
HAS_ANALYSISSCHEMELANGUAGE() Determine if ANALYSISSCHEMELANGUAGE has a value

AnalysisOptions

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

Accessible with the following methods

Method Description
GET_ANALYSISOPTIONS() Getter for ANALYSISOPTIONS