Skip to content

Commit 54ddce9

Browse files
committed
Remove use of similarity in KeywordProperty tests
This commit removes the use of similarity in KeywordProperty tests as it is causing integration test failures on CI. Upstream changes in Elasticsearch are being made to mappings which should be addressed in the client mappings as part of #3145. (cherry picked from commit 5062883)
1 parent 906a8ad commit 54ddce9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/Tests/Mapping/Types/Core/Keyword/KeywordPropertyTests.cs

-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ public KeywordPropertyTests(WritableCluster cluster, EndpointUsage usage) : base
3333
index_options = "freqs",
3434
null_value = "null",
3535
norms = false,
36-
similarity = "BM25",
3736
fields = new
3837
{
3938
foo = new
@@ -60,7 +59,6 @@ public KeywordPropertyTests(WritableCluster cluster, EndpointUsage usage) : base
6059
.NullValue("null")
6160
.Normalizer("myCustom")
6261
.Norms(false)
63-
.Similarity("BM25")
6462
.Store()
6563
.Fields(fs => fs
6664
.Keyword(k => k
@@ -85,7 +83,6 @@ public KeywordPropertyTests(WritableCluster cluster, EndpointUsage usage) : base
8583
NullValue = "null",
8684
Normalizer = "myCustom",
8785
Norms = false,
88-
Similarity = "BM25",
8986
Store = true,
9087
Fields = new Properties
9188
{

0 commit comments

Comments
 (0)