From 0a6277937a2d4f44c0f80403430e0634e21073c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Vannicatte?= Date: Tue, 25 Jun 2024 18:23:26 +0200 Subject: [PATCH] fix(specs): add virtual index settings and update renderingContent (#3254) --- specs/common/schemas/IndexSettings.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/specs/common/schemas/IndexSettings.yml b/specs/common/schemas/IndexSettings.yml index 3694bd5cb6..4ff2d71493 100644 --- a/specs/common/schemas/IndexSettings.yml +++ b/specs/common/schemas/IndexSettings.yml @@ -64,6 +64,11 @@ baseIndexSettings: default: [] x-categories: - Ranking + virtual: + type: boolean + description: Only present if the index is a [virtual replica](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/how-to/sort-an-index-alphabetically/#virtual-replicas). + x-categories: + - Ranking paginationLimitedTo: type: integer example: 100 @@ -1031,6 +1036,8 @@ value: $ref: '#/order' sortRemainingBy: $ref: '#/sortRemainingBy' + hide: + $ref: '#/hide' order: description: | @@ -1041,6 +1048,12 @@ order: items: type: string +hide: + description: Hide facet values. + type: array + items: + type: string + sortRemainingBy: description: | Order of facet values that aren't explicitly positioned with the `order` setting.