Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- expectedMigrationVersion :: MigrationVersion
- data IndexedUserStoreBulk m a where
- SyncAllUsers :: IndexedUserStoreBulk m ()
- ForceSyncAllUsers :: IndexedUserStoreBulk m ()
- MigrateData :: IndexedUserStoreBulk m ()
- migrateData :: forall r. Member IndexedUserStoreBulk r => Sem r ()
- forceSyncAllUsers :: forall r. Member IndexedUserStoreBulk r => Sem r ()
- syncAllUsers :: forall r. Member IndexedUserStoreBulk r => Sem r ()
Documentation
expectedMigrationVersion :: MigrationVersion Source #
Increase this number any time you want to force reindexing.
data IndexedUserStoreBulk m a where Source #
Bulk operations, must not be used from any web handler
SyncAllUsers :: IndexedUserStoreBulk m () | Only changes data if it is not updated since last update, use when users need to be synced because of an outage, or migrating to a new ES instance. |
ForceSyncAllUsers :: IndexedUserStoreBulk m () | Overwrite all users in the ES index, use it when trying to fix some inconsistency or while introducing a new field in the mapping. |
MigrateData :: IndexedUserStoreBulk m () |
migrateData :: forall r. Member IndexedUserStoreBulk r => Sem r () Source #
forceSyncAllUsers :: forall r. Member IndexedUserStoreBulk r => Sem r () Source #
Overwrite all users in the ES index, use it when trying to fix some inconsistency or while introducing a new field in the mapping.
syncAllUsers :: forall r. Member IndexedUserStoreBulk r => Sem r () Source #
Only changes data if it is not updated since last update, use when users need to be synced because of an outage, or migrating to a new ES instance.