Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- `ElasticsearchService::getItemById()` always returned null because it compared the hit total against an integer while Elasticsearch returns an object
- Deleting an entity together with its `LoggableChildInterface` children crashed the update handler: the child's delete log triggers an update log for the parent, whose identifier Doctrine has already cleared; such updates are now skipped
- `ElasticsearchService::bulkCreate()` now refreshes the index like `createItem()` and `updateItem()` already do; previously, current data trackers written by the populate command were not immediately searchable, so updates arriving right after population were silently dropped

## [1.2.0] - 2026-07-02

Expand Down
1 change: 1 addition & 0 deletions src/Bridge/Elasticsearch/ElasticsearchService.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public function bulkCreate(array $items, string $index, array $groups = []): voi
$request = [
'index' => $index,
'body' => $params,
'refresh' => 'true',
];

$this->elasticsearchClient->getClient()->bulk($request);
Expand Down
Loading