File tree Expand file tree Collapse file tree 2 files changed +12
-15
lines changed
composition/common/params Expand file tree Collapse file tree 2 files changed +12
-15
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,17 @@ baseSearchParamsWithoutQuery:
4343 restrictSearchableAttributes :
4444 $ref : ' #/restrictSearchableAttributes'
4545 facets :
46- $ref : ' #/searchParamsFacets'
46+ type : array
47+ items :
48+ type : string
49+ description : |
50+ Facets for which to retrieve facet values that match the search criteria and the number of matching facet values
51+ To retrieve all facets, use the wildcard character `*`.
52+ For more information, see [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts).
53+ default : []
54+ example : ['*']
55+ x-categories :
56+ - Faceting
4757 facetingAfterDistinct :
4858 $ref : ' #/facetingAfterDistinct'
4959 page :
@@ -453,19 +463,6 @@ restrictSearchableAttributes:
453463 x-categories :
454464 - Filtering
455465
456- searchParamsFacets :
457- type : array
458- items :
459- type : string
460- description : |
461- Facets for which to retrieve facet values that match the search criteria and the number of matching facet values
462- To retrieve all facets, use the wildcard character `*`.
463- For more information, see [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts).
464- default : []
465- example : ['*']
466- x-categories :
467- - Faceting
468-
469466ruleContexts :
470467 type : array
471468 items :
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ exactOnSingleWordQuery:
7171 $ref : ' ../../../common/schemas/IndexSettings.yml#/exactOnSingleWordQuery'
7272
7373facets :
74- $ref : ' ../../../common/schemas/SearchParams.yml#/searchParamsFacets '
74+ $ref : ' ../../../common/schemas/SearchParams.yml#/baseSearchParamsWithoutQuery/properties/facets '
7575
7676facetFilters :
7777 $ref : ' ../../../common/schemas/SearchParams.yml#/facetFilters'
You can’t perform that action at this time.
0 commit comments