diff options
author | Terry Wang <tytytyww@google.com> | 2023-05-18 14:13:01 -0700 |
---|---|---|
committer | Terry Wang <tytytyww@google.com> | 2023-05-18 14:14:02 -0700 |
commit | fcaadb98483cfa4960fc009547d778662c6d9c46 (patch) | |
tree | 7f2ee76fea23d3bc387a625260b76d05f0c9e732 /proto | |
parent | 50b5988361ce36fc4da6929d02ae8f3c0275d1de (diff) | |
parent | b44368d4de5af97e3635abb1400ddee484d0ab4b (diff) | |
download | icing-fcaadb98483cfa4960fc009547d778662c6d9c46.tar.gz |
Merge remote-tracking branch 'goog/androidx-platform-dev' into udc-dev
* goog/androidx-platform-dev:
AndroidXPlugin in icing
Update Icing from upstream.
Descriptions:
========================================================================
Minor fix for export to framework.
========================================================================
[Icing][version][3/x][ez] Call DataSync for version file
========================================================================
Add `use_read_only_search` flag for flag-guarding IcingSearchEngine::Search locking change in cl/506671441.
========================================================================
Bug: 146008613
Change-Id: Id432956b994c6ec1030959efa74e3cda55f26c99
Diffstat (limited to 'proto')
-rw-r--r-- | proto/icing/proto/search.proto | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/proto/icing/proto/search.proto b/proto/icing/proto/search.proto index e5ad269..fca669a 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: 9 +// Next tag: 10 message SearchSpecProto { // REQUIRED: The "raw" query string that users may type. For example, "cat" // will search for documents with the term cat in it. @@ -94,6 +94,14 @@ message SearchSpecProto { // Features enabled in this search spec. repeated string enabled_features = 8; + + // OPTIONAL: Whether to use the read-only implementation of + // IcingSearchEngine::Search. + // The read-only version enables multiple queries to be performed concurrently + // as it only acquires the read lock at IcingSearchEngine's level. + // Finer-grained locks are implemented around code paths that write changes to + // Icing during Search. + optional bool use_read_only_search = 9 [default = true]; } // Client-supplied specifications on what to include/how to format the search |