Browse Source

Similarity is applicable for text & keyword fields (#112613)

Note that similarity is only applicable for text and keyword field types.
Mayya Sharipova 1 year ago
parent
commit
bd28e77df0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      docs/reference/index-modules/similarity.asciidoc

+ 2 - 0
docs/reference/index-modules/similarity.asciidoc

@@ -5,6 +5,8 @@ A similarity (scoring / ranking model) defines how matching documents
 are scored. Similarity is per field, meaning that via the mapping one
 can define a different similarity per field.
 
+Similarity is only applicable for text type and keyword type fields.
+
 Configuring a custom similarity is considered an expert feature and the
 builtin similarities are most likely sufficient as is described in
 <<similarity>>.