aboutsummaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorTerry Wang <tytytyww@google.com>2023-05-19 14:10:23 -0700
committerTerry Wang <tytytyww@google.com>2023-05-19 14:10:37 -0700
commit5d49250d7a31db1969567abea8a28a316090e976 (patch)
treeec927421957afc62cd7af68d4339de6d9118949d /proto
parentfcaadb98483cfa4960fc009547d778662c6d9c46 (diff)
parent8eeb8f51cd9341dd88f1b3adf62539ad3ec4e404 (diff)
downloadicing-5d49250d7a31db1969567abea8a28a316090e976.tar.gz
Merge remote-tracking branch 'goog/androidx-platform-dev' into udc-dev
* goog/androidx-platform-dev: Update Icing from upstream. Descriptions: ======================================================================== Add flag to guard PersistentHashMapKeyMapper and DynamicTrieKeyMapper ======================================================================== Add flag to guard FileBackedVector premapping ======================================================================== Check tokenizer type when assigning section id ======================================================================== Bug: 193919210 Change-Id: Ifab41e03ab7dd38c803337a84259817e88f3764d
Diffstat (limited to 'proto')
-rw-r--r--proto/icing/proto/initialize.proto10
1 files changed, 9 insertions, 1 deletions
diff --git a/proto/icing/proto/initialize.proto b/proto/icing/proto/initialize.proto
index 18884c6..d4b1aee 100644
--- a/proto/icing/proto/initialize.proto
+++ b/proto/icing/proto/initialize.proto
@@ -23,7 +23,7 @@ option java_package = "com.google.android.icing.proto";
option java_multiple_files = true;
option objc_class_prefix = "ICNG";
-// Next tag: 9
+// Next tag: 11
message IcingSearchEngineOptions {
// Directory to persist files for Icing. Required.
// If Icing was previously initialized with this directory, it will reload
@@ -96,6 +96,14 @@ message IcingSearchEngineOptions {
// The default value is false.
optional bool allow_circular_schema_definitions = 8;
+ // Whether memory map max possible file size for FileBackedVector before
+ // growing the actual file size.
+ optional bool pre_mapping_fbv = 9;
+
+ // Whether use persistent hash map as the key mapper (if false, then fall back
+ // to dynamic trie key mapper).
+ optional bool use_persistent_hash_map = 10;
+
reserved 2;
}