mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
adding schema for all current query_string settings (#93175)
This commit is contained in:
parent
e2fb4760a1
commit
ab6a688505
1 changed files with 20 additions and 0 deletions
|
@ -93,7 +93,27 @@ export function getUiSettings(): Record<string, UiSettingsParams<unknown>> {
|
|||
}),
|
||||
type: 'json',
|
||||
schema: schema.object({
|
||||
default_field: schema.nullable(schema.string()),
|
||||
allow_leading_wildcard: schema.nullable(schema.boolean()),
|
||||
analyze_wildcard: schema.boolean(),
|
||||
analyzer: schema.nullable(schema.string()),
|
||||
auto_generate_synonyms_phrase_query: schema.nullable(schema.boolean()),
|
||||
boost: schema.nullable(schema.number()),
|
||||
default_operator: schema.nullable(schema.string()),
|
||||
enable_position_increments: schema.nullable(schema.boolean()),
|
||||
fields: schema.nullable(schema.arrayOf<string>(schema.string())),
|
||||
fuzziness: schema.nullable(schema.string()),
|
||||
fuzzy_max_expansions: schema.nullable(schema.number()),
|
||||
fuzzy_prefix_length: schema.nullable(schema.number()),
|
||||
fuzzy_transpositions: schema.nullable(schema.boolean()),
|
||||
lenient: schema.nullable(schema.boolean()),
|
||||
max_determinized_states: schema.nullable(schema.number()),
|
||||
minimum_should_match: schema.nullable(schema.string()),
|
||||
quote_analyzer: schema.nullable(schema.string()),
|
||||
phrase_slop: schema.nullable(schema.number()),
|
||||
quote_field_suffix: schema.nullable(schema.string()),
|
||||
rewrite: schema.nullable(schema.string()),
|
||||
time_zone: schema.nullable(schema.string()),
|
||||
}),
|
||||
},
|
||||
[UI_SETTINGS.QUERY_ALLOW_LEADING_WILDCARDS]: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue