/** * Typesense API * An open source search engine for building delightful search experiences. * * The version of the OpenAPI document: 30.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface SearchSynonym */ export interface SearchSynonym { /** * For 1-way synonyms, indicates the root word that words in the `synonyms` parameter map to. * @type {string} * @memberof SearchSynonym */ root?: string; /** * Array of words that should be considered as synonyms. * @type {Array} * @memberof SearchSynonym */ synonyms: Array; /** * Locale for the synonym, leave blank to use the standard tokenizer. * @type {string} * @memberof SearchSynonym */ locale?: string; /** * By default, special characters are dropped from synonyms. Use this attribute to specify which special characters should be indexed as is. * @type {Array} * @memberof SearchSynonym */ symbolsToIndex?: Array; /** * * @type {string} * @memberof SearchSynonym */ readonly id: string; } /** * Check if a given object implements the SearchSynonym interface. */ export declare function instanceOfSearchSynonym(value: object): value is SearchSynonym; export declare function SearchSynonymFromJSON(json: any): SearchSynonym; export declare function SearchSynonymFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchSynonym; export declare function SearchSynonymToJSON(json: any): SearchSynonym; export declare function SearchSynonymToJSONTyped(value?: Omit | null, ignoreDiscriminator?: boolean): any;