Home > doofinder > Client > search

Client.search() method

Perform a search in Doofinder based on the provided parameters.

Signature:

search(query: Query | SearchParams): Promise<SearchResponse>;

Parameters

Parameter Type Description
query Query | SearchParams An instance of Query or an object with valid search parameters.

Returns:

Promise<SearchResponse>

A promise to be fullfilled with the response or rejected with a ClientResponseError.