@@ -644,7 +644,7 @@ public extension SearchClient {
644644 /// - Parameter searchParamsObject: The search query params.
645645 /// - Parameter refinements: Refinements to apply to the search in form of dictionary with
646646 /// facet attribute as a key and a list of facet values for the designated attribute.
647- /// Any facet in this list not present in the `disjunctiveFacets` set will be filtered conjunctively.
647+ /// Any facet in this list not present in the `disjunctiveFacets` set will be filtered conjunctively (with AND operator) .
648648 /// - Parameter disjunctiveFacets: Set of facets attributes applied disjunctively (with OR operator)
649649 /// - Parameter keepSelectedEmptyFacets: Whether the selected facet values might be preserved even
650650 /// in case of their absence in the search response
@@ -657,7 +657,6 @@ public extension SearchClient {
657657 searchParamsObject: SearchSearchParamsObject ,
658658 refinements: [ String : [ String ] ] ,
659659 disjunctiveFacets: Set < String > ,
660- keepSelectedEmptyFacets: Bool = true ,
661660 requestOptions: RequestOptions ? = nil
662661 ) async throws -> SearchDisjunctiveFacetingResponse < T > {
663662 let helper = DisjunctiveFacetingHelper (
@@ -670,6 +669,6 @@ public extension SearchClient {
670669 searchMethodParams: SearchMethodParams ( requests: queries) ,
671670 requestOptions: requestOptions
672671 )
673- return try helper. mergeResponses ( responses, keepSelectedEmptyFacets : keepSelectedEmptyFacets )
672+ return try helper. mergeResponses ( responses)
674673 }
675674}
0 commit comments