|
4 | 4 |
|
5 | 5 | use Elasticsearch\Client;
|
6 | 6 | use Ensi\LaravelElasticQuery\Debug\QueryLogRecord;
|
| 7 | +use GuzzleHttp\Ring\Future\FutureArray; |
7 | 8 | use Illuminate\Support\Collection;
|
8 | 9 | use Illuminate\Support\Facades\Facade;
|
9 | 10 |
|
10 | 11 | /**
|
11 | 12 | * @method static Client getClient()
|
12 |
| - * @method static array search(string $indexName, array $dsl) |
13 |
| - * @method static array searchAsync(string $indexName, array $dsl) |
| 13 | + * @method static array search(string $indexName, array $dsl, string|null $searchType = null) |
| 14 | + * @method static FutureArray searchAsync(string $indexName, array $dsl, string|null $searchType = null) |
14 | 15 | * @method static array deleteByQuery(string $indexName, array $dsl)
|
15 | 16 | * @method static array get(string $indexName, int|string $id)
|
16 | 17 | * @method static array indicesExists(string $index)
|
17 | 18 | * @method static void indicesCreate(string $index, array $settings)
|
18 | 19 | * @method static array bulk(string $index, array $body)
|
19 | 20 | * @method static array documentDelete(string $index, int|string $id)
|
20 |
| - * @method static array catIndices(string $indexName, array|null $getFields) |
| 21 | + * @method static array catIndices(string $indexName, array|null $getFields = null) |
21 | 22 | * @method static array indicesDelete(string $indexName)
|
22 | 23 | * @method static array indicesRefresh(string $indexName)
|
23 | 24 | * @method static array indicesReloadSearchAnalyzers(string $indexName)
|
|
0 commit comments