fix: CJK search (closes #163)
This commit is contained in:
parent
d35cb82ef7
commit
07ccc23f6f
@ -1,5 +1,5 @@
|
|||||||
; (async function() {
|
; (async function() {
|
||||||
const encoder = (str) => str.toLowerCase().split(/([^a-z]|[^\x00-\x7F])+/)
|
const encoder = (str) => str.toLowerCase().split(/([^a-z]|[^\x00-\x7F])/)
|
||||||
const contentIndex = new FlexSearch.Document({
|
const contentIndex = new FlexSearch.Document({
|
||||||
cache: true,
|
cache: true,
|
||||||
charset: "latin:extra",
|
charset: "latin:extra",
|
||||||
|
Loading…
Reference in New Issue
Block a user