Skip to content

Commit 8de6451

Browse files
authored
Fix typo in text_expansion query docs example (#107572) (#107585)
* Fix typo in docs example * fix indentation
1 parent b5fea97 commit 8de6451

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

docs/reference/query-dsl/text-expansion-query.asciidoc

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -224,12 +224,12 @@ GET my-index/_search
224224
"text_expansion":{
225225
"ml.tokens":{
226226
"model_id":".elser_model_2",
227-
"model_text":"How is the weather in Jamaica?"
228-
},
229-
"pruning_config": {
230-
"tokens_freq_ratio_threshold": 5,
231-
"tokens_weight_threshold": 0.4,
232-
"only_score_pruned_tokens": false
227+
"model_text":"How is the weather in Jamaica?",
228+
"pruning_config": {
229+
"tokens_freq_ratio_threshold": 5,
230+
"tokens_weight_threshold": 0.4,
231+
"only_score_pruned_tokens": false
232+
}
233233
}
234234
}
235235
},
@@ -240,12 +240,12 @@ GET my-index/_search
240240
"text_expansion": {
241241
"ml.tokens": {
242242
"model_id": ".elser_model_2",
243-
"model_text": "How is the weather in Jamaica?"
244-
},
245-
"pruning_config": {
246-
"tokens_freq_ratio_threshold": 5,
247-
"tokens_weight_threshold": 0.4,
248-
"only_score_pruned_tokens": true
243+
"model_text": "How is the weather in Jamaica?",
244+
"pruning_config": {
245+
"tokens_freq_ratio_threshold": 5,
246+
"tokens_weight_threshold": 0.4,
247+
"only_score_pruned_tokens": true
248+
}
249249
}
250250
}
251251
}

0 commit comments

Comments
 (0)