I want to understand what 'refresh' parameter do in reindex api, how it helps while reindexing huge index. Can you please clarify using examples how it is different from the 'refresh' used in Bulk Indexing. Following is the one where refresh is used in Bulk indexing:
please format your messages when using code snippets. You can use markdown in here and it will greatly improve the ability to read your snippet - which will increase your changes of getting an answer.
This is similar when using refresh in the bulk API.
Your code snippet however contains the refresh interval, which is a different thing, as it configures how often a refresh should be executed in the background while new documents are indexed.
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.