> For the complete documentation index, see [llms.txt](https://documentation.ajaxsearchpro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.ajaxsearchpro.com/advanced-options/keyword-exception-and-exclusions.md).

# Keyword Exception & Exclusions

Keyword exceptions are applied to the search phrase. Matches are replaced with an empty string (removed).

Location: **Advanced Options -> Keyword exceptions** panel

<figure><img src="/files/uAt8VqfIw1zfEoCAeho8" alt="" width="375"><figcaption><p>Keyword Exceptions options</p></figcaption></figure>

### Partial (fuzzy) keyword exceptions

<figure><img src="/files/O0JvJamSZmuM3Mdi3mdP" alt="" width="375"><figcaption></figcaption></figure>

These keywords are removed **anywhere** from the search phrase - including from start, end and middle of the matched words.

#### Example

*Keyword exception - replace anyhwere* is set to: `word1, word2, word3`

* User types in: *"test the**word1 word2** test**word3**tes&#x74;**"***
* Search query becomes: "*test the testtest"*

Notice how every single partial and full occurence of the keywords are removed from the search phrase.

### Full (whole word) keyword exceptions

<figure><img src="/files/JGbtgxFZ96etSDVkP5lj" alt="" width="375"><figcaption><p>Full keyword exceptions</p></figcaption></figure>

These keywords are replaced only if the **full word** is matched within word boundaries. This is best to used with common words like: *in, at, a, the* etc..

#### Example

*Keyword exception - replace anyhwere* is set to: `in, the, area`

* User types in: *"mechanic **in the** paris **area"***
* Search query becomes: "*mechanic paris"*

Notice how the search query became much simpler allowing broader, yet more accurate matches by ignoring certain common keywords.
