Created
September 16, 2020 07:13
-
-
Save markusdybeck/35490b28f322b55ad97c35221fa9e855 to your computer and use it in GitHub Desktop.
Two sliced es iterators
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Slice id 0, max slices 2 | |
Iterator<Collection<Foo>> fooIterator1 = new EsIterator<>(index, query, batchSize, Foo.class, 0, 2); | |
// Slice id 1, max slices 2 | |
Iterator<Collection<Foo>> fooIterator2 = new EsIterator<>(index, query, batchSize, Foo.class, 1, 2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment