/** * Synapse REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Assigns one TextAnalyzer to one column. The referenced TextAnalyzer is the single source of truth for both index-time and search-time analysis on this column: its analyzer.default entry drives OpenSearch's analyzer field mapping, and its analyzer.default_search entry (if declared) drives the search_analyzer field mapping. To express asymmetric index/search analysis (e.g. an edge n-gram chain at index time paired with a non-ngram chain at search time), declare both entries inside the TextAnalyzer's settings; do not split the configuration into two TextAnalyzer records. * @export * @interface ColumnAnalyzerOverrideEntry */ export interface ColumnAnalyzerOverrideEntry { /** * The name of the column to override. Silently skipped at index-build time if the column is not present in the target SearchIndex's schema — a single override bundle can therefore be applied across several indexes that share some column names. * @type {string} * @memberof ColumnAnalyzerOverrideEntry */ columnName?: string; /** *

The analyzer to use for this column. Either a reference to a saved TextAnalyzer (preferred — supports reuse) written as {"$ref": "{organizationName}-{name}"}, or an inline analyzer literal pasted directly.

$ref form:

"analyzer": { "$ref": "biomed-acronym_exact" }

Inline form — the bare OpenSearch settings.analysis block (same shape as a TextAnalyzer record's settings field, with no surrounding identity / audit fields and no outer settings wrapper). Allowed root keys are char_filter, tokenizer, filter, and analyzer. The inner analyzer map must declare default (required), and may optionally declare default_search for asymmetric search-time analysis. Refs to SynonymSets are not permitted inside an inline analyzer literal — save a TextAnalyzer and reference it by qualified name to use synonyms.

"analyzer": {
     *   "analyzer": {
     *     "default": {
     *       "type": "custom",
     *       "tokenizer": "keyword",
     *       "filter": ["lowercase"]
     *     }
     *   }
     * }

The analyzer's analyzer.default entry is bound at index time; if it also declares analyzer.default_search, that entry is bound at search time.

* @type {any} * @memberof ColumnAnalyzerOverrideEntry */ analyzer?: any | null; } /** * Check if a given object implements the ColumnAnalyzerOverrideEntry interface. */ export declare function instanceOfColumnAnalyzerOverrideEntry(value: object): value is ColumnAnalyzerOverrideEntry; export declare function ColumnAnalyzerOverrideEntryFromJSON(json: any): ColumnAnalyzerOverrideEntry; export declare function ColumnAnalyzerOverrideEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): ColumnAnalyzerOverrideEntry; export declare function ColumnAnalyzerOverrideEntryToJSON(json: any): ColumnAnalyzerOverrideEntry; export declare function ColumnAnalyzerOverrideEntryToJSONTyped(value?: ColumnAnalyzerOverrideEntry | null, ignoreDiscriminator?: boolean): any;