You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How would I use play2-elasticseach if I want to add a alias to an index to be able to do reindexing (after creating a new index I
need to change the alias to connect to the right one and I can delete the old index) ?
Also, I do not want to delete the index when the application is stopped.
This way I will minimize the downtime of the application.
Any suggestions?
The text was updated successfully, but these errors were encountered:
It seems there is no wrapper for managing index. but you can still access them through native Elasticsearch API.
for example,
IndexClient.client.admin().indices().prepareAliases().addAlias(oldIndex, indexAlias).removeAlias(newIndex, indexAlias).execute().actionGet()
How would I use play2-elasticseach if I want to add a alias to an index to be able to do reindexing (after creating a new index I
need to change the alias to connect to the right one and I can delete the old index) ?
Also, I do not want to delete the index when the application is stopped.
This way I will minimize the downtime of the application.
Any suggestions?
The text was updated successfully, but these errors were encountered: