Browse Source

[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
Sue Gallagher 7 years ago
parent
commit
cdb486ae70
1 changed files with 7 additions and 0 deletions
  1. 7 0
      docs/reference/query-dsl/mlt-query.asciidoc

+ 7 - 0
docs/reference/query-dsl/mlt-query.asciidoc

@@ -241,6 +241,13 @@ number of terms that must match.
 The syntax is the same as the <<query-dsl-minimum-should-match,minimum should match>>.
 (Defaults to `"30%"`).
 
+`fail_on_unsupported_field`::
+Controls whether the query should fail (throw an exception) if any of the 
+specified fields are not of the supported types
+(`text` or `keyword'). Set this to `false` to ignore the field and continue
+processing. Defaults to
+`true`.
+
 `boost_terms`::
 Each term in the formed query could be further boosted by their tf-idf score.
 This sets the boost factor to use when using this feature. Defaults to