@@ -77,6 +77,7 @@ discard block |
||
| 77 | 77 | |
| 78 | 78 | /** |
| 79 | 79 | * Constructs search object. |
| 80 | + * @param BuilderInterface $builder |
|
| 80 | 81 | */ |
| 81 | 82 | public function __construct(Client $client, ?BuilderInterface $builder = null) |
| 82 | 83 | { |
@@ -335,7 +336,7 @@ discard block |
||
| 335 | 336 | /** |
| 336 | 337 | * Search in the set indices. |
| 337 | 338 | * |
| 338 | - * @param mixed $query |
|
| 339 | + * @param string $query |
|
| 339 | 340 | * @param int|array $options OPTIONAL Limit or associative array of options (option=>value) |
| 340 | 341 | * @param string $method OPTIONAL Request method (use const's) (default = Request::POST) |
| 341 | 342 | * |
@@ -371,7 +372,7 @@ discard block |
||
| 371 | 372 | } |
| 372 | 373 | |
| 373 | 374 | /** |
| 374 | - * @param mixed $query |
|
| 375 | + * @param string $query |
|
| 375 | 376 | * @param $fullResult (default = false) By default only the total hit count is returned. If set to true, the full ResultSet including aggregations is returned |
| 376 | 377 | * @param string $method OPTIONAL Request method (use const's) (default = Request::POST) |
| 377 | 378 | * |