aboutsummaryrefslogtreecommitdiff
path: root/icing/index/lite
diff options
context:
space:
mode:
authorJiayu Hu <hujiayu@google.com>2022-05-03 20:50:03 -0700
committerJiayu Hu <hujiayu@google.com>2022-05-03 20:50:03 -0700
commit21441c71652b1116c467e106e1b735a9bd90541d (patch)
treee2083eac148d0fcfb7470064e8abe2369af8e1a0 /icing/index/lite
parent156c55e27d7a8fdf9c26e30dcbf09e97231efd68 (diff)
downloadicing-21441c71652b1116c467e106e1b735a9bd90541d.tar.gz
Sync from upstream.
Descriptions: ====================================================================== Export Icing logging control to JNI ====================================================================== Prepare Icing logging class for JNI export ====================================================================== Export getDebugInfo to JNI ====================================================================== Expose the return_deleted_document_info parameter for deleteByQuery JNI ====================================================================== Enable runtime log control for Icing Library ====================================================================== Fix 1 ClangTidyBuild finding: ====================================================================== Update comments to run benchmarks. ====================================================================== Making icing's own logging class ====================================================================== Convert the string lexicon debug information to a protocol buffer ====================================================================== Fix issue with printing fingerprinted key in our error logs. ====================================================================== Support dump function for IcingSearchEngine ====================================================================== Bug: 146903474 Bug: 229778472 Bug: 209071710 Bug: 222349894 Bug: 225914361 Change-Id: I9750149d1ed0b59f345b8828ff312a62773667fe
Diffstat (limited to 'icing/index/lite')
-rw-r--r--icing/index/lite/lite-index.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/icing/index/lite/lite-index.cc b/icing/index/lite/lite-index.cc
index a5c6baf..dd964df 100644
--- a/icing/index/lite/lite-index.cc
+++ b/icing/index/lite/lite-index.cc
@@ -399,7 +399,7 @@ IndexDebugInfoProto::LiteIndexDebugInfoProto LiteIndex::GetDebugInfo(
res.set_last_added_document_id(header_->last_added_docid());
res.set_searchable_end(header_->searchable_end());
res.set_index_crc(ComputeChecksum().Get());
- lexicon_.GetDebugInfo(verbosity, res.mutable_lexicon_info());
+ *res.mutable_lexicon_info() = lexicon_.GetDebugInfo(verbosity);
return res;
}