File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed
specs/recommend/common/schemas Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change 11trendingFacetsQuery :
22 title : Trending facet values
33 allOf :
4- - $ref : ' ./RecommendationsRequest.yml#/baseRecommendRequest'
54 - $ref : ' #/trendingFacets'
65
76trendingFacets :
87 type : object
8+ additionalProperties : false
99 properties :
10+ indexName :
11+ $ref : ' ../../../common/parameters.yml#/indexName'
12+ threshold :
13+ type : number
14+ format : double
15+ minimum : 0
16+ maximum : 100
17+ description : Minimum score a recommendation must have to be included in the response.
18+ maxRecommendations :
19+ type : integer
20+ minimum : 1
21+ maximum : 30
22+ default : 30
23+ description : |
24+ Maximum number of recommendations to retrieve.
25+ By default, all recommendations are returned and no fallback request is made.
26+ Depending on the available recommendations and the other request parameters,
27+ the actual number of recommendations may be lower than this value.
1028 facetName :
1129 type : string
1230 description : Facet attribute for which to retrieve trending facet values.
1331 model :
1432 $ref : ' #/trendingFacetsModel'
15- fallbackParameters :
16- $ref : ' ./QueryParameters.yml#/fallbackParams'
1733 required :
34+ - indexName
35+ - threshold
1836 - facetName
1937 - model
2038
You can’t perform that action at this time.
0 commit comments