Add polish to processing lanugages

SOLR doesn't support polish out of the box. Plugins are required for
polish. The language has been added only with basic support. For
better results, a manual setup of solr is required.

Closes: #1345
This commit is contained in:
eikek
2022-05-21 14:34:48 +02:00
parent 81f7e4e322
commit 5ec311c331
9 changed files with 102 additions and 6 deletions

View File

@ -128,6 +128,11 @@ object Language {
val iso3 = "lit"
}
case object Polish extends Language {
val iso2 = "pl"
val iso3 = "pol"
}
val all: List[Language] =
List(
German,
@ -148,7 +153,8 @@ object Language {
Latvian,
Japanese,
Hebrew,
Lithuanian
Lithuanian,
Polish
)
def fromString(str: String): Either[String, Language] = {