Skip to content

Commit

Permalink
Korjaa opensearch indeksointiasetukset
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksiAhtiainen committed Mar 21, 2024
1 parent 6db35a4 commit 61951b7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ object OpiskeluoikeudenPerustiedotIndexer {
"filter" -> Map(
"finnish_folding" -> Map(
"type" -> "icu_folding",
"unicodeSetFilter" -> "[^åäöÅÄÖ]"
"unicode_set_filter" -> "[^åäöÅÄÖ]"
)
),
"analyzer" -> Map(
Expand Down Expand Up @@ -88,7 +88,7 @@ class OpiskeluoikeudenPerustiedotIndexer(
val index = new OpenSearchIndex(
openSearch = openSearch,
name = "perustiedot",
mappingVersion = 3,
mappingVersion = 4,
mapping = OpiskeluoikeudenPerustiedotIndexer.mapping,
settings = OpiskeluoikeudenPerustiedotIndexer.settings,
initialLoader = this.indexAllDocuments
Expand Down

0 comments on commit 61951b7

Please sign in to comment.