# configuration/constants/search.constants.ts

> 17 lines of code and 7 definitions.

Tree: Site tree
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/tree#file-configuration-constants-search-constants-ts
Source text: https://banes-lab.com/assets/sources/source.81e981c8b69241fa21a1808cdf811405c8be606641793a8c4b73f43adf0ea41a.generated.txt

## Definitions

- `SEARCH_QUERY_PARAM` (lexical_declaration, line 1, exported)
- `SEARCH_DEBOUNCE_MS` (lexical_declaration, line 3, exported)
- `SEARCH_MIN_QUERY_LENGTH` (lexical_declaration, line 5, exported)
- `FUZZY_MIN_TERM_LENGTH` (lexical_declaration, line 7, exported)
- `DEFINITION_MIN_TERM_LENGTH` (lexical_declaration, line 9, exported)
- `DEFINITION_RESULT_LIMIT` (lexical_declaration, line 11, exported)
- `SEARCH_IGNORED_KEYS` (lexical_declaration, line 13, exported)

## Source

```typescript
export const SEARCH_QUERY_PARAM = "q";

export const SEARCH_DEBOUNCE_MS = 300;

export const SEARCH_MIN_QUERY_LENGTH = 2;

export const FUZZY_MIN_TERM_LENGTH = 5;

export const DEFINITION_MIN_TERM_LENGTH = 3;

export const DEFINITION_RESULT_LIMIT = 40;

export const SEARCH_IGNORED_KEYS: ReadonlySet<string> = new Set([
    "file",
    "href",
    "icon",
    "id",
    "kind",
    "language",
    "layout",
    "path",
    "tone",
]);
```
