mirror of
https://github.com/discourse/discourse.git
synced 2025-03-21 17:41:10 +08:00
Add russian stemmer for FTS
This commit is contained in:
parent
ea7684fb32
commit
4a6a4db241
@ -29,6 +29,7 @@ class Search
|
|||||||
when :nl then 'dutch'
|
when :nl then 'dutch'
|
||||||
when :pt then 'portuguese'
|
when :pt then 'portuguese'
|
||||||
when :sv then 'swedish'
|
when :sv then 'swedish'
|
||||||
|
when :ru then 'russian'
|
||||||
else 'simple' # use the 'simple' stemmer for other languages
|
else 'simple' # use the 'simple' stemmer for other languages
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user