Skip to content

Commit

Permalink
fixed meili settings
Browse files Browse the repository at this point in the history
  • Loading branch information
karjo24 committed Oct 24, 2024
1 parent fc315ac commit e98b001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/meiliExporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func (m *MeiliExporter) SetIndexSettings() {
"S": {"Sommersemester", "Sommer", "SS", "SoSe", "Summer"},
}
_, err := m.c.Index("STREAMS").UpdateSettings(&meilisearch.Settings{
FilterableAttributes: []string{"courseID", "year", "semester", "visibility"},
FilterableAttributes: []string{"courseID", "year", "semester", "visibility", "private"},
SearchableAttributes: []string{"name", "description"},
})
if err != nil {
Expand Down

0 comments on commit e98b001

Please sign in to comment.