From c59d4f8a6d021ec4b01a92320c211248503f16a5 Mon Sep 17 00:00:00 2001 From: eikek Date: Thu, 29 Jul 2021 22:22:34 +0200 Subject: [PATCH] Add the japanese content field to solr This is a follow up on #961. It was forgotten when the japanese language was added. --- .../src/main/scala/docspell/ftssolr/SolrSetup.scala | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 0bd16487..8349e443 100644 --- a/modules/fts-solr/src/main/scala/docspell/ftssolr/SolrSetup.scala +++ b/modules/fts-solr/src/main/scala/docspell/ftssolr/SolrSetup.scala @@ -108,7 +108,13 @@ object SolrSetup { "Add latvian content field", addContentField(Language.Latvian) ), - SolrMigration.reIndexAll(13, "Re-Index after adding latvian content field") + SolrMigration.reIndexAll(13, "Re-Index after adding latvian content field"), + SolrMigration[F]( + 14, + "Add japanese content field", + addContentField(Language.Japanese) + ), + SolrMigration.reIndexAll(15, "Re-Index after adding japanese content field") ) def addFolderField: F[Unit] =