csun5285 commented on code in PR #65349:
URL: https://github.com/apache/doris/pull/65349#discussion_r3550035492
##########
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:
如果是 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]