SearchMode
खोज नतीजों में दिखने वाले तरीके की जानकारी देने वाला मोड. इसमें, खोज के नतीजों की क्वालिटी और इंतज़ार के समय की तुलना करके दिखाया जाता है. सभी मोड में, ग्लोबल अनुरोध की समयसीमा लागू होती है.
Enums |
SEARCH_MODE_UNSPECIFIED |
RETURN_FAST के बराबर, खोज मोड तय नहीं है. |
RETURN_FAST |
पहला अच्छा विकल्प मिलने के बाद खोज बंद करें. |
CONSUME_ALL_AVAILABLE_TIME |
बेहतर समाधान खोजने के लिए पूरा समय दें. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-04-08 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-04-08 (UTC) को अपडेट किया गया."],[[["Search mode determines the balance between speed and the quality of solutions found."],["Three options are available: `RETURN_FAST` prioritizes speed, `CONSUME_ALL_AVAILABLE_TIME` prioritizes solution quality, and `SEARCH_MODE_UNSPECIFIED` defaults to `RETURN_FAST`."],["All search modes adhere to the overall request deadline."]]],["The core content defines search modes that balance latency and solution quality, all adhering to a global deadline. `RETURN_FAST` mode prioritizes speed, halting the search after the initial satisfactory solution. Conversely, `CONSUME_ALL_AVAILABLE_TIME` mode maximizes search duration to improve solution quality. `SEARCH_MODE_UNSPECIFIED` is the default, mirroring the behavior of `RETURN_FAST`. These modes dictate how the system allocates time to finding solutions.\n"]]