diff options
author | Yogesh Singh <yosing@google.com> | 2023-08-05 21:06:22 +0000 |
---|---|---|
committer | Yogesh Singh <yosing@google.com> | 2023-08-07 22:59:47 +0000 |
commit | 7edd8a42d2ad4b80e95557a7e4c615f97450b968 (patch) | |
tree | 7e8ce2a244cf50de9ead16fea57297e0b3d3316f /proto | |
parent | f8a8e6c2e2b55900e082d2657f3691ee6d9b2d27 (diff) | |
download | icing-7edd8a42d2ad4b80e95557a7e4c615f97450b968.tar.gz |
Update Icing from upstream.
Descriptions:
========================================================================
Add join test for SetSchemaNewIndexedDocumentPropertyTriggersIndexRestorationAndReturnsOk
========================================================================
Support different sets of properties to search for different schema types.
========================================================================
Do not cache the section mask for a schema type if no property filters apply while processing the type property filters.
========================================================================
Bug: 288310393
Bug: 291019114
Change-Id: Icb867b40a603c0d63e2d96a0e2ec641e424aad7e
Diffstat (limited to 'proto')
-rw-r--r-- | proto/icing/proto/search.proto | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/proto/icing/proto/search.proto b/proto/icing/proto/search.proto index 411ad3e..7f4fb3e 100644 --- a/proto/icing/proto/search.proto +++ b/proto/icing/proto/search.proto @@ -27,7 +27,7 @@ option java_multiple_files = true; option objc_class_prefix = "ICNG"; // Client-supplied specifications on what documents to retrieve. -// Next tag: 10 +// Next tag: 11 message SearchSpecProto { // REQUIRED: The "raw" query string that users may type. For example, "cat" // will search for documents with the term cat in it. @@ -102,6 +102,16 @@ message SearchSpecProto { // Finer-grained locks are implemented around code paths that write changes to // Icing during Search. optional bool use_read_only_search = 9 [default = true]; + + // TODO(b/294266822): Handle multiple property filter lists for same schema + // type. + // How to specify a subset of properties to be searched. If no type property + // filter has been specified for a schema type (no TypePropertyMask for the + // given schema type), then *all* properties of that schema type will be + // searched. If an empty property filter is specified for a given schema type + // (TypePropertyMask for the given schema type has empty paths field), no + // properties of that schema type will be searched. + repeated TypePropertyMask type_property_filters = 10; } // Client-supplied specifications on what to include/how to format the search |