Skip to content

Commit a3e5f71

Browse files
committed
Revert changes to overlay
1 parent e677b60 commit a3e5f71

File tree

1 file changed

+34
-39
lines changed

1 file changed

+34
-39
lines changed

docs/overlays/elasticsearch-shared-overlays.yaml

Lines changed: 34 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -286,29 +286,24 @@ actions:
286286
externalDocs:
287287
description: Templating a role query
288288
url: https://www.elastic.co/guide/en/elasticsearch/reference/master/field-and-document-access-control.html#templating-role-query
289-
# Annotate items that are not shown in Bump.sh due to depth limits
290-
# These hopefully can be fixed by adding branch levels in Bump.sh since the info doesn't exist elsewhere
291-
- target: "$.components['schemas']['ml._types:TrainedModelConfigMetadata'].properties"
292-
description: Add x-model to trained_model_configs > metadata > total_feature_importance
293-
update:
294-
total_feature_importance:
295-
x-model: true
296-
- target: "$.components['schemas']['ml._types:Detector'].properties"
297-
description: Add x-model to anomaly detection job > analysis_config > detectors > custom_rules
298-
update:
299-
custom_rules:
300-
x-model: true
301-
- target: "$.components['schemas']['ml._types:DetectorRead'].properties"
302-
description: Add x-model to anomaly detection jobs > analysis_config > detectors > custom_rules
303-
update:
304-
custom_rules:
305-
x-model: true
306-
- target: "$.components['schemas']['ml.put_trained_model:TargetMeanEncodingPreprocessor'].properties"
307-
description: Add x-model to data frame analytics job > analysis> classification > feature_processors > target_mean_encoding > target_map
289+
# Abbreviate and annotate items that are not shown in Bump.sh due to depth limits
290+
- target: "$.components['schemas']['ml._types:Datafeed'].properties.query"
291+
description: Remove query object from anomaly detection datafeed
292+
remove: true
293+
- target: "$.components['schemas']['ml._types:Datafeed'].properties"
294+
description: Re-add a simplified query object in anomaly detection datafeed
308295
update:
309-
target_map:
296+
query:
310297
x-model: true
311-
# Override definitions for common schema objects that should have context-specific details
298+
type: object
299+
description: >
300+
The Elasticsearch query domain-specific language (DSL).
301+
This value corresponds to the query object in an Elasticsearch search POST body.
302+
All the options that are supported by Elasticsearch can be used, as this object is passed verbatim to Elasticsearch.
303+
By default, this property has the following value: `{"match_all": {"boost": 1}}`.
304+
externalDocs:
305+
url: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html
306+
description: Query DSL
312307
- target: "$.components['schemas']['ml._types:CategorizationAnalyzerDefinition'].properties.tokenizer"
313308
description: Remove tokenizer object from ML anomaly detection analysis config
314309
remove: true
@@ -328,38 +323,38 @@ actions:
328323
Additionally, the `ml_classic` tokenizer is available, which tokenizes in the same way as the non-customizable tokenizer in old versions of the product (before 6.2).
329324
`ml_classic` was the default categorization tokenizer in versions 6.2 to 7.13, so if you need categorization identical to the default for jobs created in these versions, specify `"tokenizer": "ml_classic"` in your `categorization_analyzer`.
330325
externalDocs:
331-
url: https://www.elastic.co/guide/en/elasticsearch/reference/master/analysis-tokenizers.html
326+
url: https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-tokenizers.html
332327
description: Tokenizer reference
333-
- target: "$.components['schemas']['graph._types:Hop'].properties.query"
334-
description: Remove query object from graph explore connections schema
328+
- target: "$.components['schemas']['ml._types:DataframeAnalyticsSource'].properties.query"
329+
description: Remove query object from data frame analytics source
335330
remove: true
336-
- target: "$.components['schemas']['graph._types:Hop'].properties"
337-
description: "Re-add simplified query object in graph explore connections schema"
338-
update:
331+
- target: "$.components['schemas']['ml._types:DataframeAnalyticsSource'].properties"
332+
description: Re-add a simplified query object in data frame analytics source
333+
update:
339334
query:
340335
x-model: true
341336
type: object
342337
description: >
343-
An optional guiding query that constrains the Graph API as it explores connected terms.
344-
For example, you might want to direct the Graph API to ignore older data by specifying a query that identifies recent documents.
338+
The Elasticsearch query domain-specific language (DSL).
339+
This value corresponds to the query object in an Elasticsearch search POST body.
340+
All the options that are supported by Elasticsearch can be used, as this object is passed verbatim to Elasticsearch.
341+
By default, this property has the following value: `{"match_all": {}}`.
345342
externalDocs:
346-
url: https://www.elastic.co/guide/en/elasticsearch/reference/master/query-dsl.html
343+
url: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html
347344
description: Query DSL
348-
- target: "$.components['schemas']['_global.scripts_painless_execute:PainlessContextSetup'].properties.query"
349-
description: Remove query object from painless script context setup schema
345+
- target: "$.components['schemas']['transform._types:Source'].properties.query"
346+
description: Remove query object from transform source
350347
remove: true
351-
- target: "$.components['schemas']['_global.scripts_painless_execute:PainlessContextSetup'].properties"
352-
description: "Re-add simplified query object in painless script context setup schema"
353-
update:
348+
- target: "$.components['schemas']['transform._types:Source'].properties"
349+
description: Re-add a simplified query object in transform source
350+
update:
354351
query:
355352
x-model: true
356353
type: object
357354
description: >
358-
This property applies only when `score` is specified as the script `context`.
359-
Use this property to specify a query for computing a score.
360-
Besides deciding whether or not the document matches, the query clause also calculates a relevance score in the `_score` metadata field.
355+
A query clause that retrieves a subset of data from the source index.
361356
externalDocs:
362-
url: https://www.elastic.co/guide/en/elasticsearch/reference/master/query-dsl.html
357+
url: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html
363358
description: Query DSL
364359
# Examples
365360
- target: "$.components['requestBodies']['async_search.submit']"

0 commit comments

Comments
 (0)