8000 ArangoSearch: Upgrade to Snowball 2 (additional stemmer languages) by Simran-B · Pull Request #10973 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

ArangoSearch: Upgrade to Snowball 2 (additional stemmer languages) #10973 8000

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Mar 18, 2020
Merged
Prev Previous commit
Next Next commit
Update IResearch locales with additional language codes
This makes the new languages available as Analyzers, e.g. 'text_el' for Greek
  • Loading branch information
Simran-B committed Jan 24, 2020
commit 9c91e84114652367fa954863548f8ccf6cde053f
7 changes: 5 additions & 2 deletions arangod/IResearch/IResearchAnalyzerFeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1627,8 +1627,11 @@ AnalyzerPool::ptr IResearchAnalyzerFeature::get(
{
// Note: ArangoDB strings coming from JavaScript user input are UTF-8 encoded
irs::string_ref const locales[] = {
"de", "en", "es", "fi", "fr", "it",
"nl", "no", "pt", "ru", "sv", "zh"
"ar", "ca", "da", "de", "el", "en",
"es", "eu", "fi", "fr", "ga", "hi",
"hu", "id", "it", "lt", "ne", "nl",
"no", "pt", "ro", "ru", "sr", "sv",
"ta", "tr", "zh"
};

irs::flags const extraFeatures = {
Expand Down
0