Skip to content

Commit 899cf99

Browse files
committed
Remove IndexPrefixes from TextProperty test
IndexPrefixes are valid for 6.3.0+ and are tested in a separate test class
1 parent 7bbba40 commit 899cf99

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/Tests/Tests/Mapping/Types/Core/Text/TextPropertyTests.cs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,6 @@ public TextPropertyTests(WritableCluster cluster, EndpointUsage usage) : base(cl
107107
max = 100.00,
108108
min_segment_size = 2
109109
},
110-
index_prefixes = new
111-
{
112-
min_chars = 1,
113-
max_chars = 10
114-
},
115110
fields = new
116111
{
117112
raw = new
@@ -149,10 +144,6 @@ public TextPropertyTests(WritableCluster cluster, EndpointUsage usage) : base(cl
149144
.Max(100)
150145
.MinSegmentSize(2)
151146
)
152-
.IndexPrefixes(i => i
153-
.MinCharacters(1)
154-
.MaxCharacters(10)
155-
)
156147
.Fields(fd => fd
157148
.Keyword(k => k
158149
.Name("raw")
@@ -186,11 +177,6 @@ public TextPropertyTests(WritableCluster cluster, EndpointUsage usage) : base(cl
186177
Max = 100,
187178
MinSegmentSize = 2
188179
},
189-
IndexPrefixes = new TextIndexPrefixes
190-
{
191-
MinCharacters = 1,
192-
MaxCharacters = 10
193-
},
194180
Fields = new Properties
195181
{
196182
{ "raw", new KeywordProperty

0 commit comments

Comments
 (0)