This is an automated email from the ASF dual-hosted git repository.
airborne12 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 1197ae1fa98 [test](regression) Stabilize search score cache test
(#65894)
1197ae1fa98 is described below
commit 1197ae1fa9800b7026317e3bd2fd2f26b527053b
Author: liangj777 <[email protected]>
AuthorDate: Thu Aug 27 16:19:57 2026 +0800
[test](regression) Stabilize search score cache test (#65894)
### What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:Fix fuzzy regression instability by pinning variant
materialization settings for the score cache test. This keeps v.host
materialized as an indexed scalar subcolumn so score() can collect BM25
instead of falling back to zero when doc mode stores the field only in
doc-value buckets.
---
regression-test/suites/search/test_search_score_cache.groovy | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/regression-test/suites/search/test_search_score_cache.groovy
b/regression-test/suites/search/test_search_score_cache.groovy
index caa3259195d..5c393980a5e 100644
--- a/regression-test/suites/search/test_search_score_cache.groovy
+++ b/regression-test/suites/search/test_search_score_cache.groovy
@@ -43,6 +43,11 @@ suite("test_search_score_cache", "p0") {
""")
}
+ // Keep v.host materialized as an indexed scalar subcolumn so score() can
collect BM25.
+ sql """ set default_variant_enable_doc_mode = false """
+ sql """ set default_variant_max_subcolumns_count = 0 """
+ sql """ set default_variant_doc_materialization_min_rows = 0 """
+
sql "DROP TABLE IF EXISTS ${tableName}"
sql """
CREATE TABLE ${tableName} (
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]