Execute a map statement on index;.
public suggestStatement ( array $suggestions ) : array | ||
$suggestions | array | |
return | array |
/** * Execute the suggest query against elastic and return the raw result if model not set. * * @return array */ public function get() { return $this->connection->suggestStatement(['index' => $this->getIndex(), 'body' => $this->toDSL()]); }