Repository navigation
fix: reject combined-fields queries on legacy Enterprise servers - #5343
Merged
Xuanwo merged 1 commit intoDec 2, 2026
Merged
Conversation
There was a problem hiding this comment.
✅ Gate recommendation: approve.
Rejecting combined-fields queries at the legacy serialization boundary prevents silent changes to matching and ranking, including nested Boolean and Boost queries. Supported servers retain the structured query, column weights, and operator.
Isolated serialization checks passed. The repository tests could not start here because the checkout requires Rust 1.98 and this environment provides 1.97.
Xuanwo
approved these changes
Dec 2, 2026
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.
Closes #5340.
Reject
CombinedFieldsbefore sending an FTS query to a LanceDB Enterprise server older than 0.3.0. The check follows all Boolean clauses and both sides of a Boost query. The 0.3.0 regression test also checks that unequal column weights and theANDoperator reach the server.Reproduced with Python SDK 0.42.1 against a mock 0.2.0 server. Both searches returned HTTP 200. The top-level query lost its weights and operator, and the nested Boolean query sent an empty string. The same searches preserved the structured query on 0.3.0.