From ec29b14d5a908748d6e0699df7c85842a95a7b3c Mon Sep 17 00:00:00 2001 From: Alex Saveliev Date: Fri, 6 Jan 2023 14:46:36 -0800 Subject: 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 --- icing/file/posting_list/posting-list-identifier.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'icing/file/posting_list/posting-list-identifier.h') 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 -- cgit v1.2.3