Skip to content

Commit

Permalink
Change lower bound of Pagination depth from 1 to 0
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Jain <[email protected]>
  • Loading branch information
vibrantvarun committed Jan 16, 2025
1 parent 3130de3 commit 028c78c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public final class HybridQueryBuilder extends AbstractQueryBuilder<HybridQueryBu

static final int MAX_NUMBER_OF_SUB_QUERIES = 5;
private final static int DEFAULT_PAGINATION_DEPTH = 10;
private static final int LOWER_BOUND_OF_PAGINATION_DEPTH = 0;
private static final int LOWER_BOUND_OF_PAGINATION_DEPTH = 1;

public HybridQueryBuilder(StreamInput in) throws IOException {
super(in);
Expand Down

0 comments on commit 028c78c

Please sign in to comment.