Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
DEV: use the scrolling spliterator by default
Browse files Browse the repository at this point in the history
  • Loading branch information
lucboruta committed Nov 12, 2018
1 parent f0d4abd commit 132dc19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/thunken/sandow/Index.java
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ default Stream<SearchHit> streamSearchHits() {

default Stream<SearchHit> streamSearchHits(final QueryBuilder queryBuilder) {
return StreamSupport.stream(
prepareSearchAfterSpliterator().searchRequest(prepareSearch().setQuery(queryBuilder)).build(), false);
prepareScrollingSpliterator().searchRequest(prepareSearch().setQuery(queryBuilder)).build(), false);
}

/**
Expand Down

0 comments on commit 132dc19

Please sign in to comment.