/recommendations/searches/_getRecent
Get the most recently sent search queries in the window specified.
Defines the previous time period, ending now, that the response will include events from. Defaults to different values depending on the endpoint, see the API definition for details.
The windows are day
, week
, and `month, representing a rolling 24 hour, 7 day and 30 day window respectively.
Number of results to return.
matchPartial
will match a subset of a query, after splitting by spaces.
For example, matchPartial: { search: { query: 'coffee' }}
will match: black coffee
, coffee
, coffee grinder
.
In all cases the or
and not
filter objects are identical to the `and filter shown.
Object defining the prefix matches to filter the events by, by matching against the beginning of the target field.
For example, matchPrefix: { search: { query: 'coff' }}
will match: coffee
, coffee grinder
.
This filter can only be applied to the Recommendation Search APIs. matchPrefix
currently only applies on queries that return search strings, and only filters on those search strings.
This JSON object that defines the exact full length String or exact value match against target field(s).
Supports and
, or
, and not
options wherever there are arrays in the original event object.