RequestMode.Mode
Mode determines if the request is processed in real time or is executed at a future time. Cloud Search accepts higher throughput for asynchronous updates, but these updates also have higher latency from acceptance to serving.
Enums |
UNSPECIFIED |
The priority is not specified in the update request. Leaving priority unspecified results in an update failure. |
SYNCHRONOUS |
For real-time updates. |
ASYNCHRONOUS |
For changes that are executed after the response is sent back to the caller. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-03 UTC.
[null,null,["Last updated 2024-09-03 UTC."],[[["Mode selection determines whether Cloud Search processes requests immediately (real-time) or at a later scheduled time."],["Asynchronous updates, while allowing for higher throughput, experience a delay between submission and when the changes become visible in search results."],["Real-time updates are achieved through the `SYNCHRONOUS` mode, whereas `ASYNCHRONOUS` mode handles updates that are processed later."],["Leaving the mode unspecified (`UNSPECIFIED`) will lead to update failures, emphasizing the importance of explicitly setting the desired mode."]]],[]]