/**
 * 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.
 */
/**
 * Per-field options for a <a href="https://docs.opensearch.org/latest/query-dsl/full-text/match/"><code>match</code></a> full-text clause. Carried as the value of the field-keyed <code>match</code> map (the map key is the column name).
 * @export
 * @interface MatchFieldOptions
 */
export interface MatchFieldOptions {
    /**
     * Optional. Multiplier for the relevance score of this clause. Default <code>1.0</code>.
     * @type {number}
     * @memberof MatchFieldOptions
     */
    boost?: number;
    /**
     * Optional. Label echoed back in matched-queries metadata.
     * @type {string}
     * @memberof MatchFieldOptions
     */
    _name?: string;
    /**
     * Optional. Allowed <a href="https://docs.opensearch.org/latest/query-dsl/term/fuzzy/">edit distance</a>: an integer or <code>AUTO</code>.
     * @type {any}
     * @memberof MatchFieldOptions
     */
    fuzziness?: any | null;
    /**
     * Optional. How the fuzzy query is rewritten internally.
     * @type {string}
     * @memberof MatchFieldOptions
     */
    fuzzy_rewrite?: string;
    /**
     * Optional. Whether to count transpositions (ab &rarr; ba) as a single edit. Default <code>true</code>.
     * @type {boolean}
     * @memberof MatchFieldOptions
     */
    fuzzy_transpositions?: boolean;
    /**
     * Optional. Number of leading characters left unchanged when fuzzy matching.
     * @type {number}
     * @memberof MatchFieldOptions
     */
    prefix_length?: number;
    /**
     * Optional. <a href="https://docs.opensearch.org/latest/query-dsl/minimum-should-match/">Minimum number of terms</a> a document must match. An integer or a percentage / formula string.
     * @type {any}
     * @memberof MatchFieldOptions
     */
    minimum_should_match?: any | null;
    /**
     * Optional. Behavior when the analyzer removes all tokens: <code>none</code> (default) or <code>all</code>.
     * @type {string}
     * @memberof MatchFieldOptions
     */
    zero_terms_query?: string;
    /**
     * Required. The text (or scalar value on a non-text column) to match. A string, number, or boolean depending on the target column type.
     * @type {any}
     * @memberof MatchFieldOptions
     */
    query?: any | null;
    /**
     * Optional. Boolean logic used to combine the analyzed query terms: <code>or</code> (default) or <code>and</code>.
     * @type {string}
     * @memberof MatchFieldOptions
     */
    operator?: string;
    /**
     * Optional. Analyzer used to tokenize the query text. Defaults to the field's search analyzer.
     * @type {string}
     * @memberof MatchFieldOptions
     */
    analyzer?: string;
    /**
     * Optional. Maximum number of terms the fuzzy expansion will generate.
     * @type {number}
     * @memberof MatchFieldOptions
     */
    max_expansions?: number;
    /**
     * Optional. Term-frequency threshold above which terms are treated as low-importance.
     * @type {number}
     * @memberof MatchFieldOptions
     */
    cutoff_frequency?: number;
    /**
     * Optional. Whether to auto-generate phrase queries for multi-term synonyms. Default <code>true</code>.
     * @type {boolean}
     * @memberof MatchFieldOptions
     */
    auto_generate_synonyms_phrase_query?: boolean;
    /**
     * Optional. When <code>true</code>, format-based errors (e.g. a text value against a numeric field) are ignored.
     * @type {boolean}
     * @memberof MatchFieldOptions
     */
    lenient?: boolean;
}
/**
 * Check if a given object implements the MatchFieldOptions interface.
 */
export declare function instanceOfMatchFieldOptions(value: object): value is MatchFieldOptions;
export declare function MatchFieldOptionsFromJSON(json: any): MatchFieldOptions;
export declare function MatchFieldOptionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): MatchFieldOptions;
export declare function MatchFieldOptionsToJSON(json: any): MatchFieldOptions;
export declare function MatchFieldOptionsToJSONTyped(value?: MatchFieldOptions | null, ignoreDiscriminator?: boolean): any;
