aboutsummaryrefslogtreecommitdiff
path: root/icing/file/posting_list/posting-list-identifier.h
diff options
context:
space:
mode:
authorAlex Saveliev <alexsav@google.com>2023-01-06 14:46:36 -0800
committerAlex Saveliev <alexsav@google.com>2023-01-06 14:46:36 -0800
commitec29b14d5a908748d6e0699df7c85842a95a7b3c (patch)
tree8e98a3ee5797ad466fc467a82de688a658566640 /icing/file/posting_list/posting-list-identifier.h
parent44f12ef84cba5a719d101c3aec9f4962352098d9 (diff)
downloadicing-ec29b14d5a908748d6e0699df7c85842a95a7b3c.tar.gz
Update icing from upstream
Descriptions: ====================================================================== Apply aggregation score to join result and create JoinProcessorTest ====================================================================== Create AggregationScorerTest ====================================================================== Add an EqualsTermMatchInfo matcher to simplify tests that interact with this struct. ====================================================================== Refactor the QueryVisitor to return QueryResults. ====================================================================== Simplify ScoreExpression to ConstantScoreExpression if its evaluation does not depend on a document ====================================================================== Use rvalue and std::move for DocumentStore methods ====================================================================== Downgrade log messages for NOT_FOUND errors in Delete calls. ====================================================================== [NumericSearch][Storage][3.1/x] Add metadata file declaration (Crcs, Info) for IntegerIndexStorage ====================================================================== [NumericSearch][Storage][3.0/x] Declare class IntegerIndexStorage ====================================================================== Cleanup Import from //tools/build_defs/objc ====================================================================== Cleanup LSC: Remove `portable_proto_library()` targets ====================================================================== Bug: 256022027 Bug: 208654892 Bug: 261474063 Bug: 246628980 Bug: 249829533 Bug: 263373214 Change-Id: Ib5ca7efffd575254e14a14d54a45f4efd1e8d6c9
Diffstat (limited to 'icing/file/posting_list/posting-list-identifier.h')
-rw-r--r--icing/file/posting_list/posting-list-identifier.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/icing/file/posting_list/posting-list-identifier.h b/icing/file/posting_list/posting-list-identifier.h
index 05c7ce5..54b2888 100644
--- a/icing/file/posting_list/posting-list-identifier.h
+++ b/icing/file/posting_list/posting-list-identifier.h
@@ -109,7 +109,8 @@ class PostingListIdentifier {
private:
uint32_t val_;
-};
+} __attribute__((packed));
+static_assert(sizeof(PostingListIdentifier) == 4, "");
} // namespace lib
} // namespace icing