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.v1.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.v1.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\u003eThis page provides documentation for the \u003ccode\u003eSearchService.SearchServiceBase\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, which serves as the base for server-side implementations of the \u003ccode\u003eSearchService\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eSearchService.SearchServiceBase\u003c/code\u003e is 1.6.0, with older versions available for reference, ranging down to 1.0.0-beta06.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two primary methods, \u003ccode\u003eSearch\u003c/code\u003e and \u003ccode\u003eSearchLite\u003c/code\u003e, both of which perform a search operation and return a \u003ccode\u003eSearchResponse\u003c/code\u003e within a task.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSearchLite\u003c/code\u003e is a simplified version of \u003ccode\u003eSearch\u003c/code\u003e that allows for API key authentication and is specifically for public website searches, although using the standard \u003ccode\u003eSearch\u003c/code\u003e method with OAuth and IAM is recommended for enhanced security.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSearchService.SearchServiceBase\u003c/code\u003e class inherits from the base \u003ccode\u003eobject\u003c/code\u003e class, including some inherited methods that are standard for C# object such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, \u003ccode\u003eMemberwiseClone()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]