The response to send back to the client (wrapped by a task).
SearchLite(SearchRequest, ServerCallContext)
public virtual Task<SearchResponse> SearchLite(SearchRequest request, ServerCallContext context)
Performs a search. Similar to the
[SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search]
method, but a lite version that allows API key for authentication, where
OAuth and IAM checks are not required.
Only public website search is supported by this method. If data stores and
engines not associated with public website search are specified, a
FAILED_PRECONDITION error is returned.
This method can be used for easy onboarding without having to implement an
authentication backend. However, it is strongly recommended to use
[SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search]
instead with required OAuth and IAM checks to provide better data security.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eSearchService.SearchServiceBase\u003c/code\u003e class serves as the foundation for server-side implementations of the Discovery Engine v1beta API's SearchService.\u003c/p\u003e\n"],["\u003cp\u003eThis class offers two primary methods: \u003ccode\u003eSearch\u003c/code\u003e for standard searches and \u003ccode\u003eSearchLite\u003c/code\u003e for searches with API key authentication, suitable for public website searches.\u003c/p\u003e\n"],["\u003cp\u003eBoth \u003ccode\u003eSearch\u003c/code\u003e and \u003ccode\u003eSearchLite\u003c/code\u003e methods require a \u003ccode\u003eSearchRequest\u003c/code\u003e and \u003ccode\u003eServerCallContext\u003c/code\u003e as parameters, returning a \u003ccode\u003eTask<SearchResponse>\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSearchLite\u003c/code\u003e is a simplified version intended for easy onboarding without OAuth and IAM, but it is recommended to utilize \u003ccode\u003eSearch\u003c/code\u003e for enhanced data security.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the documentation provided for \u003ccode\u003eSearchService.SearchServiceBase\u003c/code\u003e is \u003ccode\u003e1.0.0-beta18\u003c/code\u003e, and is part of the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1Beta\u003c/code\u003e namespace.\u003c/p\u003e\n"]]],[],null,[]]