prepareFuzzySearch
prepareFuzzySearch(
query
): (text
) =>SearchResult
|null
Defined in: obsidian.d.ts:3380
Construct a fuzzy search callback that runs on a target string.
Performance may be an issue if you are running the search for more than a few thousand times.
If performance is a problem, consider using prepareSimpleSearch
instead.
Parameters
query
string
the fuzzy query.
Returns
Function
fn - the callback function to apply the search on.
Parameters
text
string
Returns
SearchResult
| null