Skip to main content
这些设置可在 system.settings 中查看,并根据 源代码 自动生成。

text_index_hint_max_selectivity

使用基于倒排文本索引构建的 hint 时,过滤器允许的最大选择性。

text_index_lazy_intersection_density_threshold

别名: text_index_density_threshold 在惰性倒排列表应用模式 (text_index_posting_list_apply_mode = 'lazy') 下,用于选择交集算法的倒排列表密度阈值。 低于该阈值:leapfrog 交集 (更适合稀疏倒排列表) 。等于或高于该阈值:穷举 bitmap 交集 (更适合稠密倒排列表) 。

text_index_like_max_postings_to_read

启用通过字典扫描进行文本索引 LIKE 评估时,可读取的大型 postings 的最大数量。 要求启用 use_text_index_like_evaluation_by_dictionary_scan

text_index_like_min_pattern_length

在 LIKE/ILIKE 模式中,要使用通过字典扫描进行的文本索引 LIKE 评估,字母数字 needle 需要达到的最小长度。 短于此阈值的模式会匹配过多字典标记,因此会被跳过,以避免代价高昂的扫描。 要求启用 use_text_index_like_evaluation_by_dictionary_scan

text_index_posting_list_apply_mode

控制在文本索引查询期间如何应用倒排列表。 ‘materialize’ (默认) 会立即将倒排列表解码为 Roaring Bitmaps。 ‘lazy’ 使用基于游标的按需解码 (要求索引格式使用序列化 codec) 。
最后修改于 2026年7月23日