This is Indexing pipeline step

You might find yourself wanting to remove text from certain fields. For example, if your website has your brand name appended to every title field, you might find this unnecessary and irrelevant for search users.

In this example we want our title fields to go from:

About us page - Brand name

To:

About us page

For this we can add a simple strip-text step to the record pipeline, which will strip out - Brand name from every title field.

Navigate to Indexing > Advanced and add the following to the preSteps section of the pipeline:

- id: strip-text
  params:
    fields:
      constant: title:title
    text:
      constant: '- Brand name'
YAML

This will remove '- Brand name' from the field title and add the remaining values back into title.