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.
    searchType The type of search. Accepts the following values: EVERYWHERE, TITLE_ONLY, NONE.
    lastUpdate The lastUpdate option. Accepts the following values: LAST_WEEK, LAST_MONTH, LAST_YEAR, CUSTOM.
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:

[
    {
        "appName": "ft/turnkey-portal",
        "appVersion": "4.2.26",
        "contentLocale": "en-US",
        "datetime": 1704095216087,
        "id": "dd11802f-b656-448b-bf96-d765b73a2ece",
        "name": "khub.search",
        "offline": false,
        "parameters": {
            "searchQuery": {
                "terms": "afs_search_build",
                "facets": [],
                "searchType": "EVERYWHERE"
            },
            "searchResponse": {
                "autocorrect": false,
                "nbResults": 3674
            }
        },
        "sessionId": "0eec27b8-a943-4ffe-864e-74162630d234",
        "tenantId": "1-stable",
        "uiLocale": "fr-FR",
        "user": {
            "groups": [],
            "id": "d554325-eef7-4850-93c1-cea73446582060",
            "roles": [
                "PRINT_USER",
                "RATING_USER",
                "FEEDBACK_USER"
            ]
        },
        "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2.1 Safari/605.1.15",
        "userIp": "192.168.2.3"    }
]