Determine which query pipeline a search page uses

In your Coveo organization, you can create several query pipelines to address the needs of your various Coveo-powered search interfaces by using the Query Pipelines (platform-ca | platform-eu | platform-au) page in the Administration Console (see Manage query pipelines).

Your organization setup can also use various routing mechanisms that determine which query pipeline is used for a specific query.

You may therefore want to identify which query pipeline is used by a specific query in a search interface.

  1. Using a Web browser, access the search interface for which you want to determine which query pipeline is being used.

  2. Open the browser developer tools.

    Note

    The following steps are based on the Chrome developer tools, and your experience may differ if you use another browser.

  3. In the search interface, perform a search query.

  4. In the browser developer tools, select the Network tab.

  5. In the list of events (under Name), select the latest call to the Coveo Search API.

    The event name varies depending on the query string parameters, but the call is made to the /rest/search/v2 route (for example, https://platform.cloud.coveo.com/rest/search/v2).

  6. In the Response tab for the selected event, in the top section of the JSON response, locate the pipeline key and note its value.

Example

In this JSON response, the name of the pipeline is default.

{
  "totalCount" : 122452,
  "totalCountFiltered" : 122452,
  "duration" : 271,
  "indexDuration" : 235,
  "requestDuration" : 243,
  "searchUid" : "1852cb7c-2557-424a-af34-ca0a341a9b05",
  "pipeline" : "default",
  "apiVersion" : 2,
  "basicExpression" : null,
  "advancedExpression" : null,
  "largeExpression" : null,
  "constantExpression" : null,
  "disjunctionExpression" : null,
  "mandatoryExpression" : null,
  ...
}