feat: add granularity and false_positive_rate options for indexes (#249)

Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
This commit is contained in:
Zhenchi
2025-07-02 15:00:28 +08:00
committed by GitHub
parent 464226cf8a
commit ceb1af4fa9
5 changed files with 718 additions and 224 deletions
+5
View File
@@ -251,6 +251,10 @@ message SetFulltext {
Analyzer analyzer = 3;
bool case_sensitive = 4;
FulltextBackend backend = 5;
// The granularity for the fulltext index (for bloom backend only).
uint64 granularity = 6;
// The false positive rate for the fulltext index (for bloom backend only).
double false_positive_rate = 7;
}
message UnsetFulltext {
@@ -274,6 +278,7 @@ message SetSkipping {
bool enable = 2;
uint64 granularity = 3;
SkippingIndexType skipping_index_type = 4;
double false_positive_rate = 5;
}
message UnsetSkipping {