We would like to contribute by adding a support for Serbian language to FTS component.
This would require:
- Update of the libstemmer_c library - Serbian stemmer is available under the Snowball project,
- Change in the /src/mongo/db/fts/fts_language.cpp - in order to register a new language,
- New list of stopwords (stop_words_serbian.txt) under the /src/mongo/db/fts folder and a Change to the SConscript file (to register this new list),
- Change to the /src/mongo/db/fts/unicode/codepoints_diacritic_map.cpp - two new cases inside codepointRemoveDiacritics function for letters "Đ" and "đ".