Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1626cfb

Browse files
committedAug 10, 2022
addressing review comments
Signed-off-by: Bharathwaj G <bharath78910@gmail.com>
1 parent 6746775 commit 1626cfb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎client/rest-high-level/src/main/java/org/opensearch/client/RequestConverters.java

+4-1
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,11 @@ static void addSearchRequestParams(Params params, SearchRequest searchRequest) {
439439
if (searchRequest.pointInTimeBuilder() == null) {
440440
params.withIndicesOptions(searchRequest.indicesOptions());
441441
}
442-
params.withIndicesOptions(searchRequest.indicesOptions());
443442
params.withSearchType(searchRequest.searchType().name().toLowerCase(Locale.ROOT));
443+
/**
444+
* Merging search responses as part of CCS flow to reduce roundtrips is not supported for point in time -
445+
* refer to org.opensearch.action.search.SearchResponseMerger
446+
*/
444447
if (searchRequest.pointInTimeBuilder() != null) {
445448
params.putParam("ccs_minimize_roundtrips", "false");
446449
} else {

0 commit comments

Comments
 (0)
Please sign in to comment.