diff options
author | Tim Barron <tjbarron@google.com> | 2022-04-12 14:43:45 -0700 |
---|---|---|
committer | Tim Barron <tjbarron@google.com> | 2022-04-12 14:43:45 -0700 |
commit | 156c55e27d7a8fdf9c26e30dcbf09e97231efd68 (patch) | |
tree | 9c84d2510adbf430424c9244a16a92ab09ad73c7 /proto | |
parent | d5c9ae94052a0f2f1b9ddec9dbbe502bc4f11d54 (diff) | |
download | icing-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.proto | 15 |
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 |