You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -479,6 +487,30 @@ public function setRelevancyStrictness($relevancyStrictness)
479
487
return$this;
480
488
}
481
489
490
+
/**
491
+
* Gets facets.
492
+
*
493
+
* @return null|string[]
494
+
*/
495
+
publicfunctiongetFacets()
496
+
{
497
+
return$this->container['facets'] ?? null;
498
+
}
499
+
500
+
/**
501
+
* Sets facets.
502
+
*
503
+
* @param null|string[] $facets Facets for which to retrieve facet values that match the search criteria and the number of matching facet values To retrieve all facets, use the wildcard character `*`. For more information, see [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts).
0 commit comments