Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
maybe
  • Loading branch information
millotp committed Apr 3, 2025
commit 77e922f808d3e3c5082a969ef0c49ee3cbeb8041
2 changes: 1 addition & 1 deletion templates/kotlin/json_object_serializer.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ internal object {{classname}}Serializer : KSerializer<{{classname}}> {

override val descriptor: SerialDescriptor = buildClassSerialDescriptor("{{classname}}") {
{{#vars}}
element<{{{datatypeWithEnum}}}>("{{{vendorExtensions.x-base-name-literal}}}"{{^required}}, isOptional = true{{/required}})
element<{{#isAnyType}}JsonElement{{/isAnyType}}{{^isAnyType}}{{{datatypeWithEnum}}}{{/isAnyType}}>("{{{vendorExtensions.x-base-name-literal}}}"{{^required}}, isOptional = true{{/required}})
{{/vars}}
}

Expand Down
20 changes: 18 additions & 2 deletions tests/CTS/requests/search/setSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,15 @@
"indexName": "theIndexName",
"indexSettings": {
"ranking": [
"desc(is_popular)", "typo", "geo", "words", "filters", "proximity", "attribute", "exact", "custom"
"desc(is_popular)",
"typo",
"geo",
"words",
"filters",
"proximity",
"attribute",
"exact",
"custom"
]
}
},
Expand All @@ -769,7 +777,15 @@
"method": "PUT",
"body": {
"ranking": [
"desc(is_popular)", "typo", "geo", "words", "filters", "proximity", "attribute", "exact", "custom"
"desc(is_popular)",
"typo",
"geo",
"words",
"filters",
"proximity",
"attribute",
"exact",
"custom"
]
}
}
Expand Down