Ejemplo n.º 1
0
 public function testComboIdsSearchArray()
 {
     $query = new Elastica_Query_Ids();
     $query->setIds(array('1', '2'));
     $query->addId('3');
     $resultSet = $this->_type->search($query);
     $this->assertEquals(3, $resultSet->count());
 }