seperman / fast-autocomplete

Fast Autocomplete: When Elastcsearch suggestions are not fast and flexible enough
MIT License
267 stars 40 forks source link

can it support Chinese or non-english #18

Closed dongxiaohuang closed 3 years ago

dongxiaohuang commented 3 years ago

I found it fail to search for non-english words

seperman commented 3 years ago

Yes, I need to double check and see if the Levenshtein distance library Im using can take none ASCII characters. Then I can make it work with Unicode.

Sep Dehpour

On Jan 9, 2021, at 3:59 AM, dongxiaohuang notifications@github.com wrote:

 I found it fail to search for non-english words

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Bhee commented 3 years ago

Any updates? Whether it works for unicode string?

seperman commented 3 years ago

Hi @Bhee I just published 0.7.0 which allows you to pass the unicode characters that are acceptable to Autocomplete: https://github.com/seperman/fast-autocomplete#unicode

seperman commented 3 years ago

Also @dongxiaohuang