aboutsummaryrefslogtreecommitdiff
path: root/icing/index/main/main-index.h
diff options
context:
space:
mode:
Diffstat (limited to 'icing/index/main/main-index.h')
-rw-r--r--icing/index/main/main-index.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/icing/index/main/main-index.h b/icing/index/main/main-index.h
index 15030b0..4ed2e94 100644
--- a/icing/index/main/main-index.h
+++ b/icing/index/main/main-index.h
@@ -190,6 +190,9 @@ class MainIndex {
// Reduces internal file sizes by reclaiming space of deleted documents.
//
+ // This method will update the last_added_docid of the index to the largest
+ // document id that still appears in the index after compaction.
+ //
// Returns:
// OK on success
// INTERNAL_ERROR on IO error, this indicates that the index may be in an