> For the complete documentation index, see [llms.txt](https://docs.fact-finder.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fact-finder.com/docs/discovery/search-term-rules/preprocessor.md).

# Preprocessor

#### **Summary**

The **Preprocessor** lets you set up entries to replace search terms internally, so that FactFinder searches for the replacement term rather than the term originally entered by the customer.

The preprocessor lets you:

* replace multi-word terms ("dirt bike" → "dirtbike")
* use wildcards and a specialist search syntax (operators)

For example, search terms can be separated in order to increase search similarity, by `*` symbol. So an entry Mens\* -> Mens \* would ensure that instead of searching for `menswear` the system would search for `mens wear` instead.

> The Preprocessor has a greater effect on performance, and a large number of Preprocessor entries may slow down the search function. Poor search results should be attempted to be improved by usage of [Thesaurus](https://docs.fact-finder.com/docs/discovery/search-term-rules/thesaurus.md) entries first.

**Preprocessor** is represented as an individual page tab for **Search term rules** page.

![](https://883583471-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTV1CIVFU3DJKhWzkqLAG%2Fuploads%2Fgit-blob-70a645d8c72337abbcb69e169e3476a1e8ce024d%2Fpreprocessor.png?alt=media)

#### **Adding Preprocessor entry**

After entering **Source word** ![](https://883583471-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTV1CIVFU3DJKhWzkqLAG%2Fuploads%2Fgit-blob-d6ef73369d8b6bd3c60991407ff7a93dc15afc93%2FB1-2025x25.png?alt=media) and **Target Word** ![](https://883583471-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTV1CIVFU3DJKhWzkqLAG%2Fuploads%2Fgit-blob-201fae191795364f088545807a1ef929d772dfcc%2FB4-20-2025x25-1.png?alt=media), adding optional **Comment** ![](https://883583471-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTV1CIVFU3DJKhWzkqLAG%2Fuploads%2Fgit-blob-d744db53a7fe2e10bd9c7fe0f3f5963ac5f7e742%2FB3-2025x25.png?alt=media), new Preprocessor entry can be added by clicking **Add Entry** button ![](https://883583471-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTV1CIVFU3DJKhWzkqLAG%2Fuploads%2Fgit-blob-201fae191795364f088545807a1ef929d772dfcc%2FB4-20-2025x25-1.png?alt=media).

Preprocessor entries can be combined into **Groups** ![](https://883583471-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTV1CIVFU3DJKhWzkqLAG%2Fuploads%2Fgit-blob-6f8ab95c0e762d2dd7f746a15c0c8b843a92d28a%2FB5-20-2025x25.png?alt=media) to not be enabled at the same time:

* If a Preprocessor entry in a given group is found to apply, all further rules in the group are ignored.
* The Preprocessor attempts to apply the entries and groups in the sequence in which they are listed in the editor. This sequence can be changed by dragging and dropping.

#### **Managing Preprocessor entries**

All created Preprocessor entries are listed in the grid together with their attributes.

The grid lets you **filter** entries:

* hide/show entries deleted in this transaction ![](https://883583471-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTV1CIVFU3DJKhWzkqLAG%2Fuploads%2Fgit-blob-68ed05afcdd68fe55dc634789676d411b31733ee%2Fimage-264.png?alt=media)
* search for a specific entry ![](https://883583471-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTV1CIVFU3DJKhWzkqLAG%2Fuploads%2Fgit-blob-bd600d1211c31edeb1164b9a9bc0dc5b50f6129e%2Fimage-265.png?alt=media)

The following **operations** are available for transactions in the grid:

* edit ![](https://883583471-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTV1CIVFU3DJKhWzkqLAG%2Fuploads%2Fgit-blob-1a90f8f0823b33712b9532162f606882d7dd7f44%2Fimage-267.png?alt=media)
* clone to another channel ![](https://883583471-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTV1CIVFU3DJKhWzkqLAG%2Fuploads%2Fgit-blob-8b4cfd4e65c660ebbb88b2cdb01d9c466b995841%2Fimage-268.png?alt=media)
* delete ![](https://883583471-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTV1CIVFU3DJKhWzkqLAG%2Fuploads%2Fgit-blob-ca3c6fadc935a23f72aa10a442403e760c771b26%2Fimage-269.png?alt=media)
* bulk clone and delete operations are available for multiple selected (by ![](https://883583471-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTV1CIVFU3DJKhWzkqLAG%2Fuploads%2Fgit-blob-f12d9e5a693422ccb16860ba771998e87d0d7f3b%2Fimage-266.png?alt=media)) entries

> Any creation or change to an entry will mark it as locked ![](https://883583471-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTV1CIVFU3DJKhWzkqLAG%2Fuploads%2Fgit-blob-3b3e79817ff623abdaa344cbb476af321941c921%2Fimage-270.png?alt=media) and require [saving the transaction](https://docs.fact-finder.com/docs/user-interface/editing-configurations-managing-transactions.md).

**Transliterations setting** can be activated to consider common transliterations for the matching, e.g entry “tür” → “tor” would also be triggered for the input “Tuer”.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fact-finder.com/docs/discovery/search-term-rules/preprocessor.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
