@@ -5,13 +5,18 @@ recommendSearchParams:
55 - $ref : ' #/baseRecommendSearchParams'
66 - $ref : ' ../../../common/schemas/SearchParams.yml#/searchParamsQuery'
77 - $ref : ' ./IndexSettings.yml#/recommendIndexSettings'
8+ - type : object
9+ properties :
10+ enableRules :
11+ $ref : ' ../../../common/schemas/IndexSettings.yml#/indexSettingsAsSearchParams/properties/enableRules'
812
913fallbackParams :
1014 title : fallbackParameters
15+ description : Search parameters to use for a fallback request if there aren't enough recommendations.
1116 allOf :
12- - $ref : ' ./QueryParameters.yml#/recommendSearchParams '
13- - type : object
14- description : Search parameters to use for a fallback request if there aren't enough recommendations.
17+ - $ref : ' #/baseRecommendSearchParams '
18+ - $ref : ' ../../../common/schemas/SearchParams.yml#/searchParamsQuery '
19+ - $ref : ' ./IndexSettings.yml#/recommendIndexSettings '
1520
1621baseRecommendSearchParams :
1722 type : object
@@ -21,8 +26,6 @@ baseRecommendSearchParams:
2126 $ref : ' ../../../common/schemas/SearchParams.yml#/baseSearchParamsWithoutQuery/properties/similarQuery'
2227 filters :
2328 $ref : ' ../../../common/schemas/SearchParams.yml#/baseSearchParamsWithoutQuery/properties/filters'
24- facetFilters :
25- $ref : ' ../../../common/schemas/SearchParams.yml#/baseSearchParamsWithoutQuery/properties/facetFilters'
2629 optionalFilters :
2730 $ref : ' ../../../common/schemas/SearchParams.yml#/baseSearchParamsWithoutQuery/properties/optionalFilters'
2831 numericFilters :
@@ -71,5 +74,3 @@ baseRecommendSearchParams:
7174 $ref : ' ../../../common/schemas/SearchParams.yml#/baseSearchParamsWithoutQuery/properties/analyticsTags'
7275 percentileComputation :
7376 $ref : ' ../../../common/schemas/SearchParams.yml#/baseSearchParamsWithoutQuery/properties/percentileComputation'
74- enableABTest :
75- $ref : ' ../../../common/schemas/SearchParams.yml#/baseSearchParamsWithoutQuery/properties/enableABTest'
0 commit comments