Repository navigation
Conversation
This branch has not been deployed
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.
Distributed planners cannot replace the indexed work inside
HybridCompoundQueryExec, so an appended unindexed tail keeps the entire indexed search on the query node.Add
with_indexed_inputto accept a bounded, single-partition result stream and its committed-corpus BM25 scorer. The hybrid node continues to tokenize and score residual rows, then merges both arms with the existing score/row-ID ordering and limit. With an external input, it opens only the representative segment needed for the residual tokenizer. Physical child replacement preserves the input and scorer; schema, partition count, result cardinality and null checks enforce the input contract.Validation on AWS with the repository's Rust 1.98.1 toolchain:
cargo fmt --all -- --checkpasses.lance-ioon both this change and its pinned baseline0fd26effc79c62c244a5baf92cdda06e301baf21. The same full-workspace check passes with command-line allowances for those two existing lints:-A clippy::single_range_in_vec_init -A clippy::implicit_clone. No source or repository lint settings were suppressed.This commit is based on Sophon's existing Lance pin; the affected source file is unchanged on current Lance main. It adds no storage or wire-format changes.