Closed
Description
Probably there is no any setScrollTime process when using search method with reactiveElasticsearchTemplate.
Code
NativeSearchQuery nativeSearchQuery = new NativeSearchQueryBuilder()
.withQuery(QueryBuilders.matchAllQuery())
.build();
nativeSearchQuery.setScrollTime(Duration.ofHours(6));
var result = reactiveElasticsearchTemplate.search(nativeSearchQuery,ESChannelProduct.class).then();
Log
2021-10-26 16:52:36.408 DEBUG 76393 --- [main] o.s.w.r.f.client.ExchangeFunctions : [-] HTTP POST {hidden url}/channelproduct/_search?typed_keys=true&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true&scroll=1m&search_type=query_then_fetch&batched_reduce_size=512