AlgoliaSearch\Index::searchFacet PHP Метод

searchFacet() публичный Метод

Perform a search inside facets.
public searchFacet ( $facetName, $facetQuery, array $query = [] ) : mixed
$facetName
$facetQuery
$query array
Результат mixed
    public function searchFacet($facetName, $facetQuery, $query = array())
    {
        $query['facetQuery'] = $facetQuery;
        return $this->client->request($this->context, 'POST', '/1/indexes/' . $this->urlIndexName . '/facets/' . $facetName . '/query', array(), array('params' => $this->client->buildQuery($query)), $this->context->readHostsArray, $this->context->connectTimeout, $this->context->searchTimeout);
    }