Skip to content

Commit ac68c1a

Browse files
authored
fix(specs): add facetFilters back to recommend fallbackParameters (#6727)
1 parent ce313b2 commit ac68c1a

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

โ€Žspecs/recommend/common/schemas/QueryParameters.ymlโ€Ž

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ fallbackParams:
1717
- $ref: '#/baseRecommendSearchParams'
1818
- $ref: '../../../common/schemas/SearchParams.yml#/searchParamsQuery'
1919
- $ref: './IndexSettings.yml#/recommendIndexSettings'
20+
- type: object
21+
properties:
22+
facetFilters:
23+
$ref: '../../../common/schemas/SearchParams.yml#/baseSearchParamsWithoutQuery/properties/facetFilters'
2024

2125
baseRecommendSearchParams:
2226
type: object

โ€Žtests/CTS/requests/recommend/getRecommendations.jsonโ€Ž

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@
147147
"query": "myQuery",
148148
"optionalFilters": [
149149
"brand:samsung"
150+
],
151+
"facetFilters": [
152+
"brand:apple"
150153
]
151154
}
152155
}
@@ -173,6 +176,9 @@
173176
"query": "myQuery",
174177
"optionalFilters": [
175178
"brand:samsung"
179+
],
180+
"facetFilters": [
181+
"brand:apple"
176182
]
177183
}
178184
}

0 commit comments

Comments
ย (0)