aboutsummaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorTim Barron <tjbarron@google.com>2022-04-12 14:43:45 -0700
committerTim Barron <tjbarron@google.com>2022-04-12 14:43:45 -0700
commit156c55e27d7a8fdf9c26e30dcbf09e97231efd68 (patch)
tree9c84d2510adbf430424c9244a16a92ab09ad73c7 /proto
parentd5c9ae94052a0f2f1b9ddec9dbbe502bc4f11d54 (diff)
downloadicing-156c55e27d7a8fdf9c26e30dcbf09e97231efd68.tar.gz
Sync from upstream.
Descriptions: ====================================================================== Add some additional logging that will help diagnose b/218413237 ====================================================================== Mark VerbatimTokenizer::ResetToTokenStartingAfter as 'override'. ====================================================================== Support dump function for SchemaStore ====================================================================== Bug: 218413237 Change-Id: I9efd1dd388cd510df15989c84a8577d4ba56ab3c
Diffstat (limited to 'proto')
-rw-r--r--proto/icing/proto/debug.proto15
1 files changed, 15 insertions, 0 deletions
diff --git a/proto/icing/proto/debug.proto b/proto/icing/proto/debug.proto
index 3f07539..504ae43 100644
--- a/proto/icing/proto/debug.proto
+++ b/proto/icing/proto/debug.proto
@@ -16,6 +16,7 @@ syntax = "proto2";
package icing.lib;
+import "icing/proto/schema.proto";
import "icing/proto/status.proto";
import "icing/proto/storage.proto";
@@ -90,12 +91,26 @@ message DocumentDebugInfoProto {
}
// Next tag: 3
+message SchemaDebugInfoProto {
+ // Copy of the SchemaProto if it has been set in the schema store.
+ // Modifying this does not affect the Schema that IcingSearchEngine holds.
+ optional SchemaProto schema = 1;
+
+ // The most recent checksum of the schema store, by calling
+ // SchemaStore::ComputeChecksum().
+ optional uint32 crc = 2;
+}
+
+// Next tag: 4
message DebugInfoProto {
// Debug information of the index.
optional IndexDebugInfoProto index_info = 1;
// Debug information of the document store.
optional DocumentDebugInfoProto document_info = 2;
+
+ // Debug information of the schema store.
+ optional SchemaDebugInfoProto schema_info = 3;
}
// Next tag: 3