temporal icon indicating copy to clipboard operation
temporal copied to clipboard

Sync search attributes and ES schema

Open rodrigozhou opened this issue 3 years ago • 0 comments

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

rodrigozhou avatar Jul 29 '22 16:07 rodrigozhou