Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add status button to re-install the Elastic index #73

Open
mworrell opened this issue Feb 12, 2021 · 1 comment
Open

Add status button to re-install the Elastic index #73

mworrell opened this issue Feb 12, 2021 · 1 comment

Comments

@mworrell
Copy link
Contributor

If a document is inserted without first creating the index and installing the mappings, then the default mappings are used.

These default mappings are wrong, especially for related objects.

If such a wrong index exists, or if mappings are changed, then we need a simple method to re-install the index with the new mappings.

Proposal is to add a button to /admin/status to drop the index, re-create the index, and start a re-pivot of all resources.

@mworrell
Copy link
Contributor Author

An alternative is to add an admin status page where we can see:

  • The index being used
  • The mappings
  • Number of documents
  • Fetch document button - to check what is stored
  • Simple GET requests to perform checks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant