This Confluence instance is now read-only, please head over to the Algolia Confluence instance for the same more up-to-date information

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

This is Record 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'

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

  • No labels