mirror of
https://github.com/fmhy/edit.git
synced 2026-01-13 07:21:08 +11:00
Your local exact search (#4535)
* Initial plan * Add fuzzy/exact search toggle to VPLocalSearchBox Co-authored-by: eli32-vlc <84105075+eli32-vlc@users.noreply.github.com> * Complete fuzzy/exact search toggle implementation with screenshots Co-authored-by: eli32-vlc <84105075+eli32-vlc@users.noreply.github.com> * Add minisearch dependency and update screenshots with actual interface Co-authored-by: eli32-vlc <84105075+eli32-vlc@users.noreply.github.com> * Remove temporary comment and restore web fonts preset Co-authored-by: eli32-vlc <84105075+eli32-vlc@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
This commit is contained in:
parent
11dff3a3bd
commit
bfda08e659
5 changed files with 993 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ export const search: DefaultTheme.Config['search'] = {
|
|||
},
|
||||
searchOptions: {
|
||||
combineWith: 'AND',
|
||||
fuzzy: true,
|
||||
fuzzy: false,
|
||||
// @ts-ignore
|
||||
boostDocument: (documentId, term, storedFields: Record) => {
|
||||
const titles = (storedFields?.titles as string[])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue