khub.search - Fluid Topics - Latest

Integrate the Fluid Topics API

Category
Technical Notes
Audience
public
Version
Latest

This web application event occurs when a user submits a search query for which Fluid Topics has retrieved replies.

This event contains the following fields:

Field Description
searchQuery An object containing information about the search query.
    terms Contains the keywords the user searched for.
    facets Contains the list of facets the user selected with the key and values of each.
    lastUpdate The lastUpdate option. Accepts the following values: LAST_WEEK, LAST_MONTH, LAST_YEAR, CUSTOM.
    searchType The type of search. Accepts the following values: EVERYWHERE, TITLE_ONLY, NONE.
searchResponse An object containing information about the search response.
    autocorrect Indicates whether autocorrect was applied to the user's search query.
    nbResults Contains the number of results retrieved for the search query.

A table for the most common fields is in Analytics events.

Example:

[
    {
        "searchQuery": {
            "terms": "afs_search_build",
            "facets": [],
            "searchType": "EVERYWHERE"
        },
        "searchResponse": {
            "autocorrect": false,
            "nbResults": 3674
        }
    }
]