Elasticsearch clients typically offer this e.g. the python one [1]
Note also that the use of aliases [2] eases the transition from one index version to another with no downtime for your users
Right - aliases are an incredibly useful level of indirection an elasticsearch cluster administrator can use to reroute client requests in lots of interesting ways (managing new index versions, querying multiple time-based indexes, filtering index contents for different users....)
You use the alias name "portal".
From a user's perspective an alias is the same as a concrete index but gives the cluster administrator the option of switching how it is mapped e.g. to portal_v1 or portal_v2 with no client downtime.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.