> 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/behavior/search-logic/exact-matches-vs-fuzzy-matches.md).

# Exact Matches vs Fuzzy Matches

`General Options -> Logic & Behavior`

By default the plugin uses fuzzy matching across the selected fields.

![](/files/fM3MDH3ePyu37BgJK3qM)

When exact matching is enabled, the plugin no longer considers each keyword as separate, but the whole phrase is a single keyword.

### Match location

| Post Title           | Phrase       | Match "Anywhere" | Match "Starting with" | Match "Ending With" | Complete Match |
| -------------------- | ------------ | ---------------- | --------------------- | ------------------- | -------------- |
| **Hello** world!     | hello        | YES              | YES                   | NO                  | NO             |
| H**ello** world!     | ello         | YES              | NO                    | NO                  | NO             |
| Hello **world!**     | world!       | YES              | NO                    | **YES**             | NO             |
| Hello **world**!     | world        | **YES**          | NO                    | **NO**              | NO             |
| **Hello** **world**! | Hello world  | **YES**          | **YES**               | **NO**              | NO             |
| **Hello world!**     | hello world! | **YES**          | **YES**               | **YES**             | **YES**        |

### Secondary logic matching

![](/files/-M2d5G5S0vLWRjT2BrWN)

When enabled, and there are not enough matches to fullfill the [limit](broken://pages/-L9jkL0axQfFUrEZ1mqf) set to the results, the plugin will trigger a fuzzy search with the [secondary keyword logic](/behavior/search-logic.md) set - to fill the remaning result places.
