temporal
temporal copied to clipboard
Sync search attributes and ES schema
Is your feature request related to a problem? Please describe.
If I delete the Elasticsearch index, and rebuild it with make install-schema-es, it doesn't add the existing search attributes to the ES mappings, ie., it doesn't recreate the indexes for them.
Describe the solution you'd like
Add a command to tctl to sync search attributes and ES schema, and auto-sync when running make install-schema-es.
Describe alternatives you've considered Maybe also do checks in visibility when adding new documents to make sure the search attributes are indexed?
Additional context N/A