obsidian-digital-garden icon indicating copy to clipboard operation
obsidian-digital-garden copied to clipboard

Support search for non-english characters

Open anareaty opened this issue 1 year ago • 3 comments

Right now search works for latin characters, but don't work for cyrillic.

anareaty avatar Apr 18 '23 04:04 anareaty

I've recently updated the template with a brand new search engine under the hood. It should work much better with non-latin characters. Can you try updating it, and see if it works better now?

oleeskild avatar May 23 '23 20:05 oleeskild

The problem remains. An example can be viewed on the website https://www.byom-baklushi.ru/.

dmitriy-bodroff avatar Mar 04 '24 11:03 dmitriy-bodroff

I solved the problem by fixing the source code.

  1. Update flexsearch version 0.7.21 -> 0.7.31.

image

  1. Commented/removed some lines with encoder and charset when creating FlexSearch.Document so that default values were used.

image

https://www.byom-baklushi.ru/02%20-%20💡%20Заметки/Заметка%20№202403041453/

dmitriy-bodroff avatar Mar 04 '24 13:03 dmitriy-bodroff