temporalio / temporalio/temporal

Sync search attributes and ES schema

Open
#3,165 1 comment 0 reactions 1 assignee View on GitHub

@rodrigozhou is already working on this.

Since Aug 5, 2022.

enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.