Interface IndexingPlanSynchronizationStrategy
Determines how the thread will block upon committing a transaction
where indexed entities were modified.
SearchSession#indexingPlanSynchronizationStrategy(IndexingPlanSynchronizationStrategy)
-
Method Details
-
apply
-
async
- Returns:
- A strategy that only waits for index changes to be queued in the backend. See the reference documentation for details.
-
writeSync
- Returns:
- A strategy that waits for index changes to be queued and applied, forces a commit, and waits for the commit to complete. See the reference documentation for details.
-
readSync
- Returns:
- A strategy that waits for index changes to be queued and applied, forces a refresh, and waits for the refresh to complete. See the reference documentation for details.
-
sync
- Returns:
- A strategy that waits for index changes to be queued and applied, forces a commit and a refresh, and waits for the commit and refresh to complete. See the reference documentation for details.
-