temporalio / temporalio/temporal
Sync search attributes and ES schema
@rodrigozhou is already working on this.
Since Aug 5, 2022.
- Dominant language
- Go
- Stars
- 23.2k
- Forks
- 1.9k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 228
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.