Skip to content

Commit d3243fc

Browse files
oni7ukasothawo
andauthored
Update src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchTemplateIntegrationTests.java
independent of the client implementation Co-authored-by: Peter-Josef Meisch <[email protected]>
1 parent 3744028 commit d3243fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchTemplateIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1208,7 +1208,7 @@ void shouldWorkReindexForExistingIndex() {
12081208
.as(StepVerifier::create)
12091209
.consumeNextWith(postReindexResponse -> assertThat(postReindexResponse.getTotal()).isEqualTo(1L))
12101210
.verifyComplete();
1211-
NativeSearchQuery searchQuery = new NativeSearchQueryBuilder().withQuery(matchAllQuery()).build();
1211+
Query searchQuery = operations.matchAllQuery();
12121212
operations.count(searchQuery, SampleEntity.class, IndexCoordinates.of(destIndexName))
12131213
.as(StepVerifier::create)
12141214
.expectNext(1L)

0 commit comments

Comments
 (0)