From ebaa31898e75207aa87b0f731dabed410c8241c2 Mon Sep 17 00:00:00 2001 From: Eike Kettner Date: Fri, 12 Mar 2021 00:15:33 +0100 Subject: [PATCH] Add missing solr migration for new language field --- .../src/main/scala/docspell/ftssolr/SolrSetup.scala | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/fts-solr/src/main/scala/docspell/ftssolr/SolrSetup.scala b/modules/fts-solr/src/main/scala/docspell/ftssolr/SolrSetup.scala index e4a9df04..95bcb3a7 100644 --- a/modules/fts-solr/src/main/scala/docspell/ftssolr/SolrSetup.scala +++ b/modules/fts-solr/src/main/scala/docspell/ftssolr/SolrSetup.scala @@ -81,6 +81,12 @@ object SolrSetup { solrEngine, "Add more content fields", addMoreContentFields.map(_ => FtsMigration.Result.reIndexAll) + ), + FtsMigration[F]( + 10, + solrEngine, + "Add latvian content field", + addContentField(Language.Latvian).map(_ => FtsMigration.Result.reIndexAll) ) )