@@ -41,6 +41,7 @@ extension SearchResponse: Codable {
4141 case queryID
4242 case hierarchicalFacetsStorage = " hierarchicalFacets "
4343 case explain
44+ case appliedRules
4445 case renderingContent
4546 case appliedRelevancyStrictness
4647 case nbSortedHits
@@ -80,6 +81,7 @@ extension SearchResponse: Codable {
8081 self . queryID = try container. decodeIfPresent ( forKey: . queryID)
8182 self . hierarchicalFacetsStorage = try container. decodeIfPresent ( forKey: . hierarchicalFacetsStorage)
8283 self . explain = try container. decodeIfPresent ( forKey: . explain)
84+ self . appliedRules = try container. decodeIfPresent ( forKey: . appliedRules)
8385 self . renderingContent = try container. decodeIfPresent ( forKey: . renderingContent)
8486 self . appliedRelevancyStrictness = try container. decodeIfPresent ( forKey: . appliedRelevancyStrictness)
8587 self . nbSortedHits = try container. decodeIfPresent ( forKey: . nbSortedHits)
@@ -119,6 +121,7 @@ extension SearchResponse: Codable {
119121 try container. encodeIfPresent ( queryID, forKey: . queryID)
120122 try container. encodeIfPresent ( hierarchicalFacetsStorage, forKey: . hierarchicalFacetsStorage)
121123 try container. encodeIfPresent ( explain, forKey: . explain)
124+ try container. encodeIfPresent ( appliedRules, forKey: . appliedRules)
122125 try container. encodeIfPresent ( renderingContent, forKey: . renderingContent)
123126 try container. encodeIfPresent ( appliedRelevancyStrictness, forKey: . appliedRelevancyStrictness)
124127 try container. encodeIfPresent ( nbSortedHits, forKey: . nbSortedHits)
0 commit comments