Adding and Managing Query Pipeline Stop Words

Stop words are words which are filtered out from a query entered by an end user before it is sent to the index (see About Stop Words and Stop Words Leading Practices).

The list of stop words for the index of a Coveo Cloud organization is empty by default, but you can add stop word rules. Stop word rules are defined independently for each query pipeline.

The following diagram highlights the position of stop word rules in the overall order of execution of query pipeline features (see Order of Execution of Query Pipeline Features).

Access the “Stop Words” Tab of a Pipeline

  1. If not already done, log in to the Coveo Cloud platform as a member of a group with the required privileges to manage query pipeline components in the target Coveo Cloud organization.

  2. In the main menu on the left, under Search, select Query Pipelines.

  3. On the Query Pipelines page, access the query pipeline in which you find the stop words rules you want to manage:

    • Double-click the pipeline.

      OR

    • Click the pipeline, and then in the Action bar, click Edit components.

  4. On the selected pipeline page, select the Stop Words tab.

Manage the Stop Words of a Query Pipeline

Members with the privilege to view query pipelines (i.e., the View all or the Custom access level on the Query Pipelines domain) can review the stop word rules in read-only mode (see Privilege Management and Query Pipelines Domain).

  1. Access the “Stop Words” tab of a pipeline.

  2. In the Stop Words tab, you can add a new stop word rule:

    1. Click Add stop word.

    2. In the input, enter one or more common words separated with commas to be ignored when they appear in queries (see About Stop Words and Stop Words Leading Practices).

    3. Press Enter, click outside the input, or click Add stop word.

      The stop word rule is immediately effective on the pipeline.

  3. When you want the rule to apply only in a specific context, link a condition to the rule:

    1. On the row of the desired rule, click Apply condition.

    2. In the Select a Condition panel that appears:

      1. Select an existing condition or click Add Condition to create a new one (see Add a Condition).

      2. (When you created a condition only) Select the condition you just created.

      3. Click Select Condition.

        The selected condition is immediately effective.

  4. You can perform other actions on stop word rules:

    • To edit a rule, in the Stop Word column:

      1. Click the desired rule.
      2. Proceed with your modifications.
      3. Press Enter.
    • To edit a condition applied to a rule, in the Condition (Optional) column:

      1. Click the desired condition.
      2. In the Select a Condition dialog that appears:

        1. Select an existing condition to apply.

          When there are many conditions, in the filter box, type a word from the condition you are looking for to refine the list of displayed conditions.

        2. Click Save.

        The selected condition is immediately effective.

        OR

        Click Manage conditions, and then Confirm in the confirmation prompt that appears to go to the Conditions page where you can create a new condition (see Adding and Managing Query Pipeline Conditions).

    • To remove a condition, in the Condition (Optional) column:

      1. Click the condition you want to remove.

      2. In the Select a Condition dialog that appears, under Selected condition, click the X icon next to the condition, and then click Select Condition.

      The condition removal is immediately effective.

    • To duplicate a rule, click the menu icon (menu icon) at the end of the row of the desired rule (typically to create a slightly different rule), and then select Duplicate. The duplicated rule appears at the bottom of the list.

    • To delete a rule, click the menu icon (menu icon) at the end of the row of the desired rule, and then select Delete.

  5. On the search interface(s) for your Coveo Cloud organization, test your stop word rule to ensure that it improves search result relevance (see Testing a Stop Word Relevance). Make adjustments when needed.

Required Privileges

The following table indicates the required privileges to view and edit elements of the Query Pipelines page and associated panels (see Privilege Management and Privilege Reference).

Action Service - Privilege Required access level
View stop words

Organization - Organization

Search - Query pipelines

View
Edit stop words

Organization - Organization

View

Search - Query pipelines

Edit