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 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.

    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 Cloud search API.

    The event name varies depending on the query string parameters, but the call is made to the /rest/search/v2 route (e.g., 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,
  ...
}
Recommended Articles