public function SearchApiElasticsearchElasticaFacetTest::testFacets in Search API Elasticsearch 7
testFacets
@access public @dataProvider transportProvider
Return value
void
File
- modules/
elastica/ tests/ phpunit/ SearchApiElasticsearchElasticaFacetTest.php, line 66
Class
Code
public function testFacets($transport) {
$this->_client
->setTransport($transport);
$result_set = $this->_client
->search($this->_query);
$this
->assertEquals(2, $result_set['result count']);
}