File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed
specs/personalization/common/schemas
tests/CTS/requests/personalization Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 1- eventScoring :
1+ eventsScoring :
22 type : object
33 additionalProperties : false
44 required :
Original file line number Diff line number Diff line change 1- facetScoring :
1+ facetsScoring :
22 type : object
33 additionalProperties : false
44 required :
Original file line number Diff line number Diff line change @@ -2,26 +2,26 @@ personalizationStrategyParams:
22 type : object
33 additionalProperties : false
44 required :
5- - eventScoring
6- - facetScoring
5+ - eventsScoring
6+ - facetsScoring
77 - personalizationImpact
88 properties :
9- eventScoring :
9+ eventsScoring :
1010 type : array
1111 description : |
1212 Scores associated with each event.
1313
1414 The higher the scores, the higher the impact of those events on the personalization of search results.
1515 items :
16- $ref : ' eventScoring .yml#/eventScoring '
17- facetScoring :
16+ $ref : ' eventsScoring .yml#/eventsScoring '
17+ facetsScoring :
1818 type : array
1919 description : |
2020 Scores associated with each facet.
2121
2222 The higher the scores, the higher the impact of those events on the personalization of search results.
2323 items :
24- $ref : ' facetScoring .yml#/facetScoring '
24+ $ref : ' facetsScoring .yml#/facetsScoring '
2525 personalizationImpact :
2626 type : integer
2727 minimum : 0
Original file line number Diff line number Diff line change 22 {
33 "testName" : " set setPersonalizationStrategy" ,
44 "parameters" : {
5- "eventScoring " : [
5+ "eventsScoring " : [
66 {
77 "score" : 42 ,
88 "eventName" : " Algolia" ,
99 "eventType" : " click"
1010 }
1111 ],
12- "facetScoring " : [
12+ "facetsScoring " : [
1313 {
1414 "score" : 42 ,
1515 "facetName" : " Event"
2121 "path" : " /1/strategies/personalization" ,
2222 "method" : " POST" ,
2323 "body" : {
24- "eventScoring " : [
24+ "eventsScoring " : [
2525 {
2626 "score" : 42 ,
2727 "eventName" : " Algolia" ,
2828 "eventType" : " click"
2929 }
3030 ],
31- "facetScoring " : [
31+ "facetsScoring " : [
3232 {
3333 "score" : 42 ,
3434 "facetName" : " Event"
You can’t perform that action at this time.
0 commit comments