# @pkg/search - Enhanced Search Input
EnhancedSearch offers advanced search matching features such as exact matching,
OR syntax, and case sensitivity; it also supports remembering previous input
value.
## Usages
```js
import { EnhancedSearch } from "@pkg/search"
viewof search = EnhancedSearch(olympians, {
memoKey: "input-1"
})
```
OR
```js
import { searchFilter, columnFilter } from "@pkg/search"
viewof search2 = Inputs.search(olympians, {
filter: columnFilter(columns)
})
```
## Options
- `memoKey` (String): A unique key used to remember the state of the input
across Observable notebook re-loads.
## Features
- **Exact Match:** You can search for an exact phrase by enclosing the phrase
within double quotes. This forces the search to match the exact sequence of
characters within the quotes.
- **Case Sensitivity:** The search respects the case of the characters, allowing
for precise filtering based on the casing of the input.
- **Conditional Logic:** Use the | operator to perform logical OR searches. This
allows you to search for multiple terms simultaneously.
## Example Queries
- `"Zeus"`: This query returns results that exactly match 'Zeus'.
- `Hera|Zeus`: This query returns results that contain either 'Hera' or 'Zeus'.