Repository navigation
branch-4.0: [feature](bm25) support score range filter pushdown (min_score semantics) - #60997
Merged
Merged
Conversation
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
Author
|
run buildall |
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
Contributor
FE UT Coverage ReportIncrement line coverage |
Contributor
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
yiguolei
approved these changes
Mar 4, 2026
Closed
morningman
added a commit
to apache/doris-website
that referenced
this pull request
Nov 13, 2026
Doris 4.0.0 through 4.0.3 reject `score()` predicates in `WHERE`, while 4.0.4 and later support direct minimum-score filtering. Document both query forms in the English and Chinese dev/4.x relevance guides, with an indexed sample table and input data. Explain supported score predicates, threshold semantics, and the candidate limit required by the older-version workaround. Fixes #3264. The dev guides also describe the current implementation: an outermost single-table query can compute and filter scores without Top-N, while a scored SELECT nested in a subquery, view, CTE, or set operation still needs score ordering and LIMIT. Update the activation conditions and FAQ to match. The 4.x guides retain the Top-N requirement verified for 4.0.x and 4.1.0 through 4.1.5. Validation: - Compared the score-filter implementation in the 4.0.0 through 4.0.4 release tags and 4.1.5-release, checked the 4.0.4 release notes and [#60997](apache/doris#60997), and checked current master’s `BindScoreToOlapScan` and regression examples from [#69292](apache/doris#69292). - All four pages pass MDX parsing after legacy HTML-comment removal, front matter preservation, English/Chinese SQL example comparison, link checks, locale/version sync checks, and `git diff --check`. - No live cluster SQL or full website build was run. Existing page routes, front matter, and navigation are preserved. --------- Co-authored-by: morningman <[email protected]>
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.
#60100