{"version":3,"sources":["../../src/generated/settings.ts"],"sourcesContent":["/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED FROM `elasticsearch/` BY\n// `yarn workspace @elastic/esql-definitions generate`.\n\nimport type { SettingDefinition } from '../definition_types';\n\nexport const settingDefinitions: SettingDefinition[] = [\n  {\n    name: 'approximation',\n    type: [\n      'boolean',\n      'map_param',\n    ],\n    description: 'Enables [query approximation](https://www.elastic.co/docs/reference/query-languages/esql/esql-query-approximation) if possible for the query. A boolean value `false` (default) disables query approximation and `true` enables it with default settings. Map values enable query approximation with custom settings.',\n    serverlessOnly: false,\n    preview: false,\n    snapshotOnly: false,\n    mapParams: '{name=\\'rows\\', values=[], description=\\'Number of sampled rows used for approximating the query. Must be at least 10,000. Null uses the system default.\\', type=[integer]}, {name=\\'confidence_level\\', values=[], description=\\'Confidence level of the computed confidence intervals. Default is 0.90. Null disables computing confidence intervals.\\', type=[double]}',\n  },\n  {\n    name: 'column_metadata',\n    type: [\n      'boolean',\n    ],\n    description: 'When enabled, column metadata is added to the `_query` response as additional `_meta` properties. Defaults to `false`. Currently, only `_meta.bucket` is added for columns corresponding to the `BUCKET` function and contains bucket interval and unit for queries where it can be determined.',\n    serverlessOnly: false,\n    preview: true,\n    snapshotOnly: false,\n  },\n  {\n    name: 'project_routing',\n    type: [\n      'keyword',\n    ],\n    description: 'Limits the scope of a [cross-project search (CPS)](https://www.elastic.co/docs/reference/query-languages/esql/esql-cross-serverless-projects) to specific projects before query execution, based on a [Lucene query expression](docs-content://explore-analyze/cross-project-search/cross-project-search-project-routing.md) evaluated against project tags. Excluded projects are not queried, which can reduce cost and latency. ',\n    serverlessOnly: true,\n    preview: true,\n    snapshotOnly: false,\n  },\n  {\n    name: 'time_zone',\n    type: [\n      'keyword',\n    ],\n    description: 'The default timezone to be used in the query. Defaults to UTC, and overrides the `time_zone` request parameter. See [timezones](https://www.elastic.co/docs/reference/query-languages/esql/esql-rest#esql-timezones).',\n    serverlessOnly: false,\n    preview: false,\n    snapshotOnly: false,\n  },\n  {\n    name: 'unmapped_fields',\n    type: [\n      'keyword',\n    ],\n    description: 'Determines how unmapped fields are treated.\\nFor a conceptual overview and use cases, including performance considerations, refer to\\n[Unmapped fields](https://www.elastic.co/docs/reference/query-languages/esql/esql-unmapped-fields).\\n\\nPossible values are:\\n\\n- `DEFAULT` : Standard ESQL queries fail when referencing unmapped fields.\\n- `NULLIFY` : Treats referenced unmapped fields as null values. Fully unmapped fields that are never mentioned do not\\n  appear in the output.\\n- `LOAD` : Loads referenced fully unmapped fields from the stored\\n  [`_source`](https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/mapping-source-field) with type `keyword`. Or nullifies them if\\n  absent from `_source`. Also loads partially mapped fields from `_source` where they are unmapped.\\n{applies_to}`stack: preview =9.4, ga 9.5+`\\n\\n[`PROMQL`](https://www.elastic.co/docs/reference/query-languages/esql/commands/promql) queries have their own specific semantics for unmapped fields.\\n\\nSpecial notes about the `LOAD` option:\\n- [`PROMQL`](https://www.elastic.co/docs/reference/query-languages/esql/commands/promql) is not supported with `LOAD`.\\n- Referencing subfields of `flattened` parents is not supported.\\n- [Full-text search functions](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/search-functions) are supported,\\n  although unmapped fields cannot be loaded without an explicit invocation of `to_text`.\\n  {applies_to}`stack: ga 9.5+`\\n  - Full-text search functions are not supported anywhere in the query. {applies_to}`stack: preview =9.4`\\n- Partially unmapped non-`keyword` fields can be used in expressions. If the field is mapped to a single type and there\\'s an\\n  available conversion from `keyword` to that type, the implicit conversion is applied. If there\\'s no available conversion\\n  (for example `text`, `aggregate_metric_double`, or `dense_vector`), and an explicit one has not been provided by the user,\\n  values retain the mapped type but are `null` for rows from indices where the field is unmapped.\\n  {applies_to}`stack: ga 9.5+`\\n  - Partially unmapped non-`keyword` fields must be referenced inside a cast or conversion function (e.g. `::TYPE` or\\n    `TO_TYPE`), unless referenced in `KEEP` or `DROP`. {applies_to}`stack: preview =9.4`\\n',\n    serverlessOnly: false,\n    preview: false,\n    snapshotOnly: false,\n  },\n];\n"],"mappings":";AAYO,IAAM,qBAA0C;AAAA,EACrD;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,MACJ;AAAA,MACA;AAAA,IACF;AAAA,IACA,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,SAAS;AAAA,IACT,cAAc;AAAA,IACd,WAAW;AAAA,EACb;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,MACJ;AAAA,IACF;AAAA,IACA,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,SAAS;AAAA,IACT,cAAc;AAAA,EAChB;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,MACJ;AAAA,IACF;AAAA,IACA,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,SAAS;AAAA,IACT,cAAc;AAAA,EAChB;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,MACJ;AAAA,IACF;AAAA,IACA,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,SAAS;AAAA,IACT,cAAc;AAAA,EAChB;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,MACJ;AAAA,IACF;AAAA,IACA,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,SAAS;AAAA,IACT,cAAc;AAAA,EAChB;AACF;","names":[]}