Uh oh!
There was an error while loading. Please reload this page.
branch-4.0: [feature](score) support BM25 scoring in inverted index query_v2 #59847 - #61470
Conversation
hello-stephen
commented
Mar 18, 2026
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
airborne12
commented
Mar 18, 2026
run buildall |
d731bf0 to
b1c77d7Compareairborne12
commented
Mar 18, 2026
run buildall |
b1c77d7 to
36f6c68Compareairborne12
commented
Mar 18, 2026
run buildall |
hello-stephen
commented
Mar 18, 2026
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
Update contrib/clucene from 8b57674 to c51b5cc to include: - ac9475a: block max WAND algorithm with BM25 similarity - aef5c9c: Fix GCC -Werror compilation errors - c51b5cc: Fix GCC -Werror=overloaded-virtual in FieldForMerge Required for readBlock, getMaxBlockFreq, getMaxBlockNorm, getLastDocInBlock APIs used by segment_postings.h
1. Fix BE compilation error: TermWeight::for_each_pruning hides base class virtual methods. Added using declaration to bring base class overloads into scope. 2. Fix doc_set_collector: When context.readers is empty (e.g., AllQuery for MATCH_ALL_DOCS), for_each_index_segment returns immediately without iterating. Added fallback to create scorer directly from weight, which allows AllScorer to work without an IndexReader. 3. Update test_bm25_score error message to match new FE message that includes "MATCH or SEARCH function".
airborne12
commented
Mar 18, 2026
run buildall |
hello-stephen
commented
Mar 18, 2026
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
hello-stephen
commented
Mar 18, 2026
FE UT Coverage ReportIncrement line coverage |
…_search.h function_search.h references vectorized::IndexExecContext but neither includes vexpr_context.h nor forward-declares the class, causing compilation failure on CI.
airborne12
commented
Mar 19, 2026
run buildall |
hello-stephen
commented
Mar 19, 2026
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
hello-stephen
commented
Mar 19, 2026
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
Uh oh!
There was an error while loading. Please reload this page.
hello-stephen
commented
Mar 19, 2026
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
Proposed changes
Cherry-pick #59847 to branch-4.0.
Original PR: #59847
Further comments
Resolved cherry-pick conflicts caused by directory renames (
be/src/storage/→be/src/olap/,be/src/exprs/→be/src/vec/exprs/) in branch-4.0. Key conflict resolutions:vectorized::namespace qualifiers for types (VExprSPtr,VSlotRef, etc.)IndexExecContextconstructor parameters for segment/iter_optsenable_adjust_conjunct_order_by_cost,enable_paimon_cpp_reader,single_backend_query,cteMaxRecursionDepth) from thrift/SessionVariable