-1

i need to do fulltext search via javascript on client-side. I found lunr. It is great, but i need multilingual support. Can you help me?

Oliver Nightingale
  • 1,805
  • 1
  • 17
  • 22
Undrooleek
  • 223
  • 4
  • 12

1 Answers1

3

EDIT There is a project (lunr-languages) that provides support for multiple languages, the currently supported languages are:

  • German
  • French
  • Spanish
  • Italian
  • Japanese
  • Dutch
  • Danish
  • Portuguese
  • Finnish
  • Romanian
  • Hungarian
  • Russian
  • Norwegian

Multi-language support is coming to lunr in the next release. There are already adapters for french and russian, which languages do you need to support?

I only speak English so testing the quality of these adapters is difficult for me, I'm always looking for support from people who have a need for the other language adapters with testing etc.

You can take a look at either the French or Russian adapters to see what is required, you just need to create a stemmer for the required language and implement a stop word list containing very common words in the language.

Oliver Nightingale
  • 1,805
  • 1
  • 17
  • 22