Prints a read-only status table for every configured Orkestra.ES.Schema,
reporting whether each alias exists and whether its deployed mapping has
drifted from the current schema definition. Makes no changes.
Configuration
Schemas are discovered from application config as a list of
{SchemaModule, ClusterModule} pairs:
config :orkestra, :es_schemas, [
{MyApp.Search.Product, MyApp.ESCluster}
]Usage
mix orkestra.es.status
mix orkestra.es.status --schema MyApp.Search.Product
mix orkestra.es.status --schema MyApp.Search.Product --culture itOptions
--schema— only report on the given schema module.--culture— only report on the given culture (multi-culture schemas).
The table shows the schema, culture, alias, whether it exists, whether it has drifted, and the abbreviated deployed vs. schema mapping hashes.