[core][python] Fix index-specific search mode defaults - #8844
Merged
JingsongLi merged 10 commits intoJul 26, 2026
Merged
Conversation
XiaoHongbo-Hope
force-pushed
the
fix/scalar-global-index-search-mode-default
branch
5 times, most recently
from
July 24, 2026 11:53
4eefdda to
fb38ba0
Compare
…nt row loss Scalar (sorted/bitmap) global-index queries used the vector/full-text `global-index.search-mode` = fast, which returns no unindexed ranges, so rows committed but not yet covered by the index were pruned before being read and `WHERE <indexed_col> = X` silently returned incomplete results. - Add `scalar-index.search-mode` (default `full`). Resolution priority: explicit `scalar-index.search-mode` -> an explicit `global-index.search-mode` (inherited) -> default `full`. - Thread an optional `search_mode` through DataEvolutionGlobalIndexCoverage and DataEvolutionGlobalIndexScanner.unindexed_rows. - Only the pure scalar scan (file_scanner) passes the scalar mode. Vector / full-text callers leave it unset and keep the fast default, so a vector scan with a scalar filter is not widened into a full-table brute-force scan.
XiaoHongbo-Hope
force-pushed
the
fix/scalar-global-index-search-mode-default
branch
from
July 25, 2026 14:25
fb38ba0 to
ce3071e
Compare
XiaoHongbo-Hope
marked this pull request as ready for review
July 26, 2026 02:41
Contributor
|
We should modify Java too. And we need to modify the default value of |
Contributor
Author
Updated |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Resolution order: explicit family option, explicit global option, family default.
Tests