From c4e85d67aceb545a9d2610fde6c6eea1e8b04ffc Mon Sep 17 00:00:00 2001 From: Miguel Targa Date: Fri, 26 Jul 2024 09:15:24 -0400 Subject: [PATCH] fix linting --- .code-samples.meilisearch.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.code-samples.meilisearch.yaml b/.code-samples.meilisearch.yaml index 9cf7ce6c..59ec19b7 100644 --- a/.code-samples.meilisearch.yaml +++ b/.code-samples.meilisearch.yaml @@ -102,7 +102,7 @@ facet_search_1: |- client.Index("books").FacetSearch(&meilisearch.FacetSearchRequest{ FacetQuery: "fiction", FacetName: "genres", - Filter: "rating > 3", + Filter: "rating > 3", }) facet_search_3: |- client.Index("books").FacetSearch(&meilisearch.FacetSearchRequest{ @@ -656,7 +656,11 @@ getting_started_configure_settings: |- getting_started_faceting: |- client.Index("movies").UpdateFaceting(&meilisearch.Faceting{ MaxValuesPerFacet: 2, + SortFacetValuesBy: { + "*": "count" + } }) + getting_started_pagination: |- client.Index("movies").UpdatePagination(&meilisearch.Pagination{ MaxTotalHits: 500,