From a03ec680b72c6827992203f3531f447ed4ff13e0 Mon Sep 17 00:00:00 2001 From: Kathleen DeRusso Date: Wed, 17 Apr 2024 11:34:44 -0400 Subject: [PATCH] Fix typo in docs example --- .../query-dsl/text-expansion-query.asciidoc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/reference/query-dsl/text-expansion-query.asciidoc b/docs/reference/query-dsl/text-expansion-query.asciidoc index 27fca2bb56375..ed8cc0b3b7f2f 100644 --- a/docs/reference/query-dsl/text-expansion-query.asciidoc +++ b/docs/reference/query-dsl/text-expansion-query.asciidoc @@ -232,12 +232,12 @@ GET my-index/_search "text_expansion":{ "ml.tokens":{ "model_id":".elser_model_2", - "model_text":"How is the weather in Jamaica?" - }, - "pruning_config": { + "model_text":"How is the weather in Jamaica?", + "pruning_config": { "tokens_freq_ratio_threshold": 5, "tokens_weight_threshold": 0.4, "only_score_pruned_tokens": false + } } } }, @@ -248,12 +248,12 @@ GET my-index/_search "text_expansion": { "ml.tokens": { "model_id": ".elser_model_2", - "model_text": "How is the weather in Jamaica?" - }, - "pruning_config": { - "tokens_freq_ratio_threshold": 5, - "tokens_weight_threshold": 0.4, - "only_score_pruned_tokens": true + "model_text": "How is the weather in Jamaica?", + "pruning_config": { + "tokens_freq_ratio_threshold": 5, + "tokens_weight_threshold": 0.4, + "only_score_pruned_tokens": true + } } } }