Skip to content

Commit 4e74efe

Browse files
authored
#90592
#90592 Co-authored-by: Ms_Natali <golubkova@greensight.ru> Co-authored-by: MsNatali <MsNatali@users.noreply.github.com>
1 parent 2fbdbb5 commit 4e74efe

File tree

6 files changed

+85
-8467
lines changed

6 files changed

+85
-8467
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
*.cache
66
phpunit.xml
77
.huskyrc
8+
composer.lock

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,18 @@ $aggQuery->composite(function (AggregationsBuilder $builder) {
181181
});
182182
```
183183

184+
## Additional methods
185+
186+
```php
187+
$index = new ProductsIndex();
188+
189+
$index->isCreated(); // Check if index are created
190+
$index->create(); // Create index with structure from settings() method
191+
$index->bulk(); // Send bulk request
192+
$index->get(); // Send get request
193+
$index->documentDelete(); // Send documentDelete request
194+
```
195+
184196
## Query Log
185197

186198
Just like Eloquent ElasticQuery has its own query log, but you need to enable it manually

0 commit comments

Comments
 (0)