Creates a Find instance that handles fetching matches dependent on settings and query.
The settings that define how the Find instance is to operate.
An auth-object that handles the authentication.
Can be used to check the state of deferUpdates.
The number of times this service-instance has aborted a request (typically as a result to starting a new request while the previous is still running and needs to be aborted).
The number of times this service-instance has cancelled a request (as directed from a user cbRequest rejection).
The number of times this service-instance has completed a request (not counting aborted or cancelled requests).
The number of times this service-instance has failed during a request (not counting aborted or cancelled requests).
The number of times this service-instance has started a request.
Decides whether an update should be executed or not. Typically used to temporarily turn off update-execution. When turned back on the second param can be used to indicate whether pending updates should be executed or not.
Turns on or off deferring of updates.
Used to indicate if a pending update is to be executed or skipped when deferring is turned off. The param is ignored for state=true.
Fetches the results from the server.
The query-object that controls which results that are to be returned.
Set to true if you have defined callbacks, but somehow don't want them to be called.
a promise that when resolved returns the data.
Sets up the Request that is to be executed, with headers and auth as needed.
Set to false to not include the auth jwt token in the request headers. Default=true
Call the service, but take into account deferredUpdates.
The query object to create the fetch for.
A delay for when to execute the update, in milliseconds. Defaults to undefined.
If true then the query match-page number will not be reset to 1. Otherwise it is by default always 1.
Generated using TypeDoc
The Find service queries the search-engine for search-matches for the given query.
It is normally used indirectly via the SearchClient class.