@terascope/opensearch-client / client/method-helpers/indicesValidateQuery
client/method-helpers/indicesValidateQuery
Functions
convertIndicesValidateQueryParams()
convertIndicesValidateQueryParams(
params,distributionMeta): {all_shards?:boolean;allow_no_indices?:boolean;analyze_wildcard?:boolean;analyzer?:string;body?:Record<string,any>;default_operator?:"AND"|"OR";df?:string;expand_wildcards?:ExpandWildcards;explain?:boolean;ignore_unavailable?:boolean;index?:string|string[];lenient?:boolean;q?:string;query_on_query_string?:string;rewrite?:boolean; } | {all_shards?:boolean;allow_no_indices?:boolean;analyze_wildcard?:boolean;analyzer?:string;body?:Record<string,any>;default_operator?:"AND"|"OR";df?:string;expand_wildcards?:ExpandWildcards;explain?:boolean;ignore_unavailable?:boolean;index?:string|string[];lenient?:boolean;q?:string;query_on_query_string?:string;rewrite?:boolean;type:string; }
Defined in: opensearch-client/src/client/method-helpers/indicesValidateQuery.ts:3
Parameters
| Parameter | Type |
|---|---|
params | IndicesValidateQueryParams |
distributionMeta | ClientMetadata |
Returns
{ all_shards?: boolean; allow_no_indices?: boolean; analyze_wildcard?: boolean; analyzer?: string; body?: Record<string, any>; default_operator?: "AND" | "OR"; df?: string; expand_wildcards?: ExpandWildcards; explain?: boolean; ignore_unavailable?: boolean; index?: string | string[]; lenient?: boolean; q?: string; query_on_query_string?: string; rewrite?: boolean; } | { all_shards?: boolean; allow_no_indices?: boolean; analyze_wildcard?: boolean; analyzer?: string; body?: Record<string, any>; default_operator?: "AND" | "OR"; df?: string; expand_wildcards?: ExpandWildcards; explain?: boolean; ignore_unavailable?: boolean; index?: string | string[]; lenient?: boolean; q?: string; query_on_query_string?: string; rewrite?: boolean; type: string; }