2 Commits

Author SHA1 Message Date
Krunal Gandhi
adbfa7360e
Normalize plurals (#2062)
* initial commit

* allow multiple plurals set

* acess dictionary word from stemmerManager directly

* use find over count

* make dictionary post request async

* add endpoints to get dictionary

* update function names

* update core_api function names

* fix the test

* update end-point names

* reload dictionaries on restart

---------

Co-authored-by: Kishore Nallan <kishorenc@gmail.com>
2024-12-05 14:06:25 +05:30
Ozan Armağan
0f54bf7101
Add stemming support for fields (#1498)
* Add stemming support for fields

* Add tests for stemming

* Check if the stemmer is  loaded correctly

* Add mutex for stemmer initialization and usage

* Fix get_stemmer_mutex() function signature

* Add StemmerManager class and refactor field.cpp and index.cpp

* Add mutex for thread safety in StemmerManager

* update delete_all_stemmers()

* Update field property name from "stemming" to "stem"
2024-01-20 21:18:54 +05:30