The maintenance mode of the
SMWElasticStore reflects the operational state where the
refresh_interval parameter of Elasticsearch is set to
-11 to help maintenance script "rebuildElasticIndex.php"Allows to rebuild all the semantic data for the Elasticsearch index to perform a higher throughput23 rate during indexing (via bulk updates) with the consequence that changes will not be immediately visible.
In cases where the maintenance script "rebuildElasticIndex.php"Allows to rebuild all the semantic data for the Elasticsearch index was aborted or canceled, the
refresh_interval may have not been reset (depending on the operation system) to the default value. Therefore running the script with option
--update-settings restores the default value it is during regular operations of the wiki:
php rebuildElasticIndex.php --update-settings
- Help page on replication monitoring
- ^ | "...refresh interval is set to -1, disabling the automatic refreshes, then requests ..."
- ^ | What exactly does -1 refresh_interval in Elasticsearch mean?
- ^ | Elasticsearch Refresh Interval vs Indexing Performance