Skip to content

Commit 312f2fd

Browse files
committed
[DOCS] Added 'fail_on_unsupported_field' param to MLT. Closes #28008 (#31160)
* [DOCS] Added 'fail_on_unsupported_field' param to MLT. Closes 28008 * [DOCS] Added 'fail_on_unsupported_field' param to MLT. Closes #28008 * [DOCS] Added 'fail_on_unsupported_field' param to MLT. Closes #28008 * [DOCS] Added 'fail_on_unsupported_field' param to MLT. Closes #28008
1 parent ce4a80c commit 312f2fd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/reference/query-dsl/mlt-query.asciidoc

+7
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,13 @@ number of terms that must match.
242242
The syntax is the same as the <<query-dsl-minimum-should-match,minimum should match>>.
243243
(Defaults to `"30%"`).
244244

245+
`fail_on_unsupported_field`::
246+
Controls whether the query should fail (throw an exception) if any of the
247+
specified fields are not of the supported types
248+
(`text` or `keyword'). Set this to `false` to ignore the field and continue
249+
processing. Defaults to
250+
`true`.
251+
245252
`boost_terms`::
246253
Each term in the formed query could be further boosted by their tf-idf score.
247254
This sets the boost factor to use when using this feature. Defaults to

0 commit comments

Comments
 (0)