Skip to content

Commit 952bde4

Browse files
committed
Added documentation
1 parent 01d6c47 commit 952bde4

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

doc/02_Configuration/03_Index_Management.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,27 @@ pimcore_generic_data_index:
6969
max_batch_size: 400
7070
```
7171

72+
#### Related elements
73+
74+
The indexing queue is automatically populated whenever an element undergoes an update operation. This process includes not only the modified element itself but also any related elements. By default, this indexing occurs asynchronously through Symfony Messenger.
75+
76+
For scenarios requiring immediate processing, you can temporarily switch to synchronous mode by utilizing the `SynchronousProcessingRelatedIdsServiceInterface`.
77+
78+
Available methods are:
79+
80+
| Method | Description |
81+
|--------|-------------|
82+
| `enable()` | Activates synchronous processing mode |
83+
| `disable()` | Reverts to asynchronous processing mode |
84+
| `isEnabled()` | Returns the current processing mode status |
85+
86+
:::info
87+
88+
Currently the `SynchronousProcessingRelatedIdsServiceInterface` interface does not influence the behavior of delete operations. They are always processed synchronously.
89+
90+
:::
91+
92+
7293
### Repairing Indices
7394

7495
Sometimes it might be needed to delete and recreate the index from the Pimcore database

0 commit comments

Comments
 (0)