But can you tell me how reindexing are implemented in Kibana or other ELK stack products?
As far as I know those products are designed for highly loaded environment and maybe there are implemented some special techniques for minimizing downtime caused by reindexing?
The indexing and reindexing happens all within Elasticsearch.
And, in regards to kibana and other ELK stack products please see here: https://www.elastic.co/elk-stack
It is needed for production system. For now we are investigating Elasticsearch for use in our system as main search engine. And the problem is we want to change our schema (mapping) of index to be changed from time to time.
As far as I understand if we change index we need to reindex data consequently we will have system downtime at the time of reindexing (system will be offline at that time as I understand). So to avoid that Elastic team and some other authors in internet recommends to use aliases to minimize downtime.
And I want to understand is the index aliases is a best solution of this problem.
Alrighty, now I have a better idea of what you wanting to achieve.
So you will have a client which your business production system will be using to query Elasticsearch, to which it is likely that it will query a number of indices.
In the event of a migration or upgrade or reindex process such as you mentioned, you will want your client to point to an elasticsearch alias whilst the reindex process is running in the background. Once the reindex process is complete then switch the alias in elasticsearch from the old index to the newly reindexed index.
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.