xiaokang commented on code in PR #43992:
URL: https://github.com/apache/doris/pull/43992#discussion_r1875126289
##########
be/src/olap/rowset/segment_v2/inverted_index_file_writer.cpp:
##########
@@ -120,6 +122,56 @@ int64_t InvertedIndexFileWriter::headerLength() {
return header_size;
}
+Status InvertedIndexFileWriter::add_into_searcher_cache() {
Review Comment:
Can you call search get function used in query to fill the cache
automatically?
##########
be/src/common/config.cpp:
##########
@@ -1034,6 +1034,7 @@ DEFINE_mInt64(file_cache_error_log_limit_bytes,
"209715200"); // 200MB
DEFINE_mInt32(index_cache_entry_stay_time_after_lookup_s, "1800");
DEFINE_mInt32(inverted_index_cache_stale_sweep_time_sec, "600");
+DEFINE_Bool(enable_write_index_searcher_cache, "false");
Review Comment:
use mBool for dynamic config modification.
--
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]