LIANG751234313 commented on code in PR #65349:
URL: https://github.com/apache/doris/pull/65349#discussion_r3550176322
##########
regression-test/suites/search/test_search_cache.groovy:
##########
@@ -134,5 +134,35 @@ suite("test_search_cache", "p0") {
"""
assertEquals(complex_cached, complex_uncached)
+ // Test 7: SEARCH DSL + score() must not reuse bitmap-only DSL cache.
+ // A warmed DSL cache or repeated score query would return 0.0 scores if
cache hit
+ // skipped scorer collection.
+ def score_cached_1 = sql """
+ SELECT
/*+SET_VAR(enable_common_expr_pushdown=true,enable_inverted_index_query_cache=true)
*/
+ id, score() AS s FROM ${tableName}
+ WHERE search('title:apple')
Review Comment:
新增的test目标是验证SEARCH DSL + score(),match需要在这里测吗?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]