@@ -65,7 +65,7 @@ use crate::MetadataRef;
65
65
use crate :: RefreshAggregatingIndexRewriter ;
66
66
use crate :: SUPPORTED_AGGREGATING_INDEX_FUNCTIONS ;
67
67
68
- const MAXIMUM_BLOOM_BITMAP_SIZE : usize = 128 * 1024 * 1024 ;
68
+ const MAXIMUM_BLOOM_SIZE : usize = 1 << 30 ;
69
69
70
70
// valid values for inverted index option tokenizer
71
71
static INDEX_TOKENIZER_VALUES : LazyLock < HashSet < & ' static str > > = LazyLock :: new ( || {
@@ -598,17 +598,17 @@ impl Binder {
598
598
}
599
599
options. insert ( "gram_size" . to_string ( ) , value) ;
600
600
}
601
- "bitmap_size " => {
601
+ "bloom_size " => {
602
602
match value. parse :: < usize > ( ) {
603
603
Ok ( num) => {
604
604
if num == 0 {
605
605
return Err ( ErrorCode :: IndexOptionInvalid (
606
- "`bitmap_size ` cannot be 0" ,
606
+ "`bloom_size ` cannot be 0" ,
607
607
) ) ;
608
608
}
609
- if num > MAXIMUM_BLOOM_BITMAP_SIZE {
609
+ if num > MAXIMUM_BLOOM_SIZE {
610
610
return Err ( ErrorCode :: IndexOptionInvalid ( format ! (
611
- "bitmap_size : `{num}` is too large (bitmap_size is maximum: {MAXIMUM_BLOOM_BITMAP_SIZE })" ,
611
+ "bloom_size : `{num}` is too large (bloom_size is maximum: {MAXIMUM_BLOOM_SIZE })" ,
612
612
) ) ) ;
613
613
}
614
614
}
@@ -618,7 +618,7 @@ impl Binder {
618
618
) ) ) ;
619
619
}
620
620
}
621
- options. insert ( "bitmap_size " . to_string ( ) , value) ;
621
+ options. insert ( "bloom_size " . to_string ( ) , value) ;
622
622
}
623
623
_ => {
624
624
return Err ( ErrorCode :: IndexOptionInvalid ( format ! (
0 commit comments