-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support search slicing with point-in-time (#75162)
This PR adds support for using the `slice` option in point-in-time searches. By default, the slice query splits documents based on their Lucene ID. This strategy is more efficient than the one used for scrolls, which is based on the `_id` field and must iterate through the whole terms dictionary. When slicing a search, the same point-in-time ID must be used across slices to guarantee the partitions don't overlap or miss documents. Closes #65740.
- Loading branch information
1 parent
ac0ae3a
commit 52c0bda
Showing
12 changed files
with
590 additions
and
140 deletions.
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.