Skip to content

Commit a798976

Browse files
committed
fix: types
1 parent 3914261 commit a798976

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

specs/common/schemas/IndexSettings.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -877,10 +877,13 @@ typoTolerance:
877877
- type: boolean
878878
default: true
879879
description: Whether typo tolerance is active. If true, matches with typos are included in the search results and rank after exact matches.
880-
- $ref: './SearchEnums.yml#/typoTolerance'
880+
- $ref: '#/typoToleranceEnum'
881881
x-categories:
882882
- Typos
883883

884+
typoToleranceEnum:
885+
$ref: './SearchEnums.yml#/typoTolerance'
886+
884887
ignorePlurals:
885888
description: |
886889
Treat singular, plurals, and other forms of declensions as equivalent.
@@ -956,7 +959,7 @@ facetOrdering:
956959
additionalProperties: false
957960
properties:
958961
facets:
959-
$ref: '#/facetsWithOrder'
962+
$ref: '#/facets'
960963
values:
961964
$ref: '#/values'
962965

@@ -1012,7 +1015,7 @@ bannerImageUrl:
10121015
url:
10131016
type: string
10141017

1015-
facetsWithOrder:
1018+
facets:
10161019
description: Order of facet names.
10171020
type: object
10181021
additionalProperties: false

0 commit comments

Comments
 (0)