---
title: "How do fuzzy search and keyword search differ?"
description: "The two search methods in File Search: fuzzy search ranks relevant files by words and meaning, while keyword search lists only files that contain every search term"
canonical_url: "https://docs.ardge.com/en/knowledge/doclake/search-methods"
---
# How do fuzzy search and keyword search differ?

> The two search methods in File Search: fuzzy search ranks relevant files by words and meaning, while keyword search lists only files that contain every search term

## Short answer

**Fuzzy Search** is the default search method. It matches both the words and content with a similar meaning, counts a file as a hit when any search term matches, ranks results by relevance, and lists up to 50 files. Use fuzzy search when you aren't sure what wording the document uses.

**Keyword Search** lists only files in which every search term appears, and lists all of them. Use keyword search to find an exact name, number, or phrase.

## Details

### Comparison

|  | Fuzzy Search | Keyword Search |
| --- | --- | --- |
| How it matches | Word matching, plus content with a similar meaning | Word matching only |
| Several search terms | A file matches if any term matches | Every term must appear on the same page of content, or in the file name |
| Chinese terms | Split into overlapping pairs of characters, so searching 「合約」 (contract) finds a file that says 「本合約」 (this contract) | The characters of a term must appear together, so searching 「特休假」 (annual leave) doesn't find a file that only says 「休假」 (leave) |
| When no words match | Still lists the files closest in meaning | No results |
| Number of results | Up to 50 files | Every match |
| Needs an embedding model | Yes | No |

### Example

Suppose a library has three files:

- `A.pdf`: says 「合約終止時應提前通知」 (notice must be given before the contract is terminated)
- `B.pdf`: says 「合約」 (contract) on one page and 「終止」 (terminate) on another
- `C.pdf`: says only 「契約期滿」 (the agreement expires)

| Search | Fuzzy Search | Keyword Search |
| --- | --- | --- |
| `合約 終止` | A and B rank first; C may also be listed | Only A |
| `契約` | C ranks first | Only C |

Keyword search requires both terms on the same page, so B isn't listed.

### How are search terms separated?

Spaces separate search terms. For example, `合約 終止` is two terms. A search made only of punctuation yields no terms and returns no results.

### When the embedding model is unavailable

Fuzzy search needs an embedding model. When the page shows "**No embedding model is configured, so documents cannot be searched**", you can still switch to **Keyword Search** to find files. While an administrator changes the embedding model and all libraries are reindexed, neither search method is available.

## How to switch

1. Submit a query in **File Search**
2. On the results page, click the search options and choose **Fuzzy Search** or **Keyword Search** under **Search Method**

![Sort By and Search Method in the search options](https://docs.ardge.com/screenshots/knowledge/en/doclake/search-methods/view-1.webp)

## Related articles

- [Find information with File Search and AI Summary](https://docs.ardge.com/en/knowledge/doclake/search)


## Sitemap

See the full [sitemap](https://docs.ardge.com/sitemap.md) for all pages.
