This commit is contained in:
2025-07-31 15:18:46 +08:00
parent ce50120e40
commit 9cea296e6c
7 changed files with 18 additions and 19 deletions

View File

@@ -9,8 +9,8 @@ const miniSearch = new MiniSearch({
storeFields: ['title', 'content'],
searchOptions: {
prefix: true,
fuzzy: 0.2,
},
fuzzy: 0.2
}
})
// Add data to the MiniSearch instance