/**
 * 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.
 */
/**
 * A <a href="https://docs.opensearch.org/latest/query-dsl/full-text/multi-match/"><code>multi_match</code></a> full-text clause &mdash; a <code>match</code> run across several columns at once.
 * @export
 * @interface MultiMatchQuery
 */
export interface MultiMatchQuery {
    /**
     * Optional. Multiplier for the relevance score of this clause. Default <code>1.0</code>.
     * @type {number}
     * @memberof MultiMatchQuery
     */
    boost?: number;
    /**
     * Optional. Label echoed back in matched-queries metadata.
     * @type {string}
     * @memberof MultiMatchQuery
     */
    _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 MultiMatchQuery
     */
    fuzziness?: any | null;
    /**
     * Optional. How the fuzzy query is rewritten internally.
     * @type {string}
     * @memberof MultiMatchQuery
     */
    fuzzy_rewrite?: string;
    /**
     * Optional. Whether to count transpositions (ab &rarr; ba) as a single edit. Default <code>true</code>.
     * @type {boolean}
     * @memberof MultiMatchQuery
     */
    fuzzy_transpositions?: boolean;
    /**
     * Optional. Number of leading characters left unchanged when fuzzy matching.
     * @type {number}
     * @memberof MultiMatchQuery
     */
    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 MultiMatchQuery
     */
    minimum_should_match?: any | null;
    /**
     * Optional. Behavior when the analyzer removes all tokens: <code>none</code> (default) or <code>all</code>.
     * @type {string}
     * @memberof MultiMatchQuery
     */
    zero_terms_query?: string;
    /**
     * Required. The text to match across the listed columns. A string.
     * @type {any}
     * @memberof MultiMatchQuery
     */
    query?: any | null;
    /**
     * Required. The columns to search. Each entry may carry a <code>^boost</code> suffix (e.g. <code>title^2</code>).
     * @type {Array<any>}
     * @memberof MultiMatchQuery
     */
    fields?: Array<any>;
    /**
     * Optional. How the per-field matches are combined: <code>best_fields</code> (default), <code>most_fields</code>, <code>cross_fields</code>, <code>phrase</code>, <code>phrase_prefix</code>, or <code>bool_prefix</code>.
     * @type {string}
     * @memberof MultiMatchQuery
     */
    type?: string;
    /**
     * Optional. Boolean logic used to combine the analyzed terms: <code>or</code> (default) or <code>and</code>.
     * @type {string}
     * @memberof MultiMatchQuery
     */
    operator?: string;
    /**
     * Optional. Weight (0&ndash;1) applied to non-best field scores in <code>best_fields</code> / <code>cross_fields</code>.
     * @type {number}
     * @memberof MultiMatchQuery
     */
    tie_breaker?: number;
    /**
     * Optional. Analyzer used to tokenize the query text. Defaults to each field's search analyzer.
     * @type {string}
     * @memberof MultiMatchQuery
     */
    analyzer?: string;
    /**
     * Optional. Maximum number of terms a fuzzy / prefix expansion will generate. Default <code>50</code>.
     * @type {number}
     * @memberof MultiMatchQuery
     */
    max_expansions?: number;
    /**
     * Optional. Number of positions allowed between matching terms for the phrase types.
     * @type {number}
     * @memberof MultiMatchQuery
     */
    slop?: number;
    /**
     * Optional. Term-frequency threshold above which terms are treated as low-importance.
     * @type {number}
     * @memberof MultiMatchQuery
     */
    cutoff_frequency?: number;
    /**
     * Optional. Whether to auto-generate phrase queries for multi-term synonyms. Default <code>true</code>.
     * @type {boolean}
     * @memberof MultiMatchQuery
     */
    auto_generate_synonyms_phrase_query?: boolean;
    /**
     * Optional. When <code>true</code>, format-based errors are ignored.
     * @type {boolean}
     * @memberof MultiMatchQuery
     */
    lenient?: boolean;
}
/**
 * Check if a given object implements the MultiMatchQuery interface.
 */
export declare function instanceOfMultiMatchQuery(value: object): value is MultiMatchQuery;
export declare function MultiMatchQueryFromJSON(json: any): MultiMatchQuery;
export declare function MultiMatchQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): MultiMatchQuery;
export declare function MultiMatchQueryToJSON(json: any): MultiMatchQuery;
export declare function MultiMatchQueryToJSONTyped(value?: MultiMatchQuery | null, ignoreDiscriminator?: boolean): any;
