Skip to content

Commit 7f8ef74

Browse files
Similarity is applicable for text & keyword fields (elastic#112613)
Note that similarity is only applicable for text and keyword field types.
1 parent 5b62edd commit 7f8ef74

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/reference/index-modules/similarity.asciidoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ A similarity (scoring / ranking model) defines how matching documents
55
are scored. Similarity is per field, meaning that via the mapping one
66
can define a different similarity per field.
77

8+
Similarity is only applicable for text type and keyword type fields.
9+
810
Configuring a custom similarity is considered an expert feature and the
911
builtin similarities are most likely sufficient as is described in
1012
<<similarity>>.

0 commit comments

Comments
 (0)