Update meilisearch to v1.36.0 (#847)
* Update meilisearch to v1.36.0 * Merge remote-tracking branch 'origin/main' into chore/update-meilisearch --------- Co-authored-by: Christian Beutel <>
This commit is contained in:
@@ -28,7 +28,7 @@ func init() {
|
||||
return err
|
||||
}
|
||||
|
||||
_, err = client.Index("trails").UpdateFilterableAttributes(&[]string{
|
||||
_, err = client.Index("trails").UpdateFilterableAttributes(&[]interface{}{
|
||||
"_geo", "author", "category", "completed", "date", "difficulty", "distance", "elevation_gain", "elevation_loss", "public", "shares", "tags",
|
||||
})
|
||||
|
||||
@@ -53,7 +53,7 @@ func init() {
|
||||
return err
|
||||
}
|
||||
|
||||
_, err = client.Index("lists").UpdateFilterableAttributes(&[]string{
|
||||
_, err = client.Index("lists").UpdateFilterableAttributes(&[]interface{}{
|
||||
"author", "public", "shares",
|
||||
})
|
||||
if err != nil {
|
||||
|
||||
@@ -20,7 +20,7 @@ func init() {
|
||||
return err
|
||||
}
|
||||
|
||||
_, err = client.Index("trails").UpdateFilterableAttributes(&[]string{
|
||||
_, err = client.Index("trails").UpdateFilterableAttributes(&[]any{
|
||||
"_geo", "author", "category", "completed", "date", "difficulty", "distance", "elevation_gain", "elevation_loss", "public", "shares", "tags", "likes",
|
||||
})
|
||||
|
||||
@@ -33,7 +33,7 @@ func init() {
|
||||
return err
|
||||
}
|
||||
|
||||
_, err = client.Index("trails").UpdateFilterableAttributes(&[]string{
|
||||
_, err = client.Index("trails").UpdateFilterableAttributes(&[]any{
|
||||
"_geo", "author", "category", "completed", "date", "difficulty", "distance", "elevation_gain", "elevation_loss", "public", "shares", "tags",
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user