Skip to content

Commit bbcbf0e

Browse files
committed
Fix failing update by query tests due to string mapping
1 parent 8fde029 commit bbcbf0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Tests/Document/Multiple/UpdateByQuery/UpdateByQueryApiTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ protected override void IntegrationSetup(IElasticClient client, CallUniqueValues
4242
this.Client.Map<Test>(m => m
4343
.Index(index)
4444
.Properties(props => props
45-
.String(s => s.Name(p => p.Text))
46-
.String(s => s.Name(p => p.Flag).Analyzer("keyword"))
45+
.Text(s => s.Name(p => p.Text))
46+
.Keyword(s => s.Name(p => p.Flag))
4747
)
4848
);
4949

0 commit comments

Comments
 (0)