Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kkrik-es committed Oct 10, 2024
1 parent 4116f3f commit 44f16de
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,7 @@ public void testEsqlSource() throws IOException {

indexDocuments(documents);

// Excludes the FROM prefix.
final String query = "FROM $index METADATA _source, _id | KEEP _source, _id | LIMIT " + numberOfDocuments;

final MatchResult matchResult = Matcher.matchSource()
.mappings(getContenderMappings(), getBaselineMappings())
.settings(getContenderSettings(), getBaselineSettings())
Expand Down Expand Up @@ -312,8 +310,7 @@ public void testFieldCaps() throws IOException {

indexDocuments(documents);

final MatchResult matchResult = Matcher.matchSource()
.mappings(getContenderMappings(), getBaselineMappings())
final MatchResult matchResult = Matcher.mappings(getContenderMappings(), getBaselineMappings())
.settings(getContenderSettings(), getBaselineSettings())
.expected(getFields(fieldCapsBaseline()))
.ignoringSort(true)
Expand Down

0 comments on commit 44f16de

Please sign in to comment.