@@ -1740,7 +1740,7 @@ print client.copy_index("MyIndex", "MyIndexCopy")
17401740
17411741In some cases, you may want to totally reindex all your data. In order to keep your existing service
17421742running while re-importing your data we recommend the usage of a temporary index plus an atomical
1743- move using the move_index method.
1743+ move using the ` move_index ` method.
17441744
17451745``` python
17461746# Rename MyNewIndex in MyIndex (and overwrite it)
@@ -1749,22 +1749,22 @@ print client.move_index("MyNewIndex", "MyIndex")
17491749
17501750** Note** :
17511751
1752- The move_index method will overwrite the destination index, and delete the temporary index.
1752+ The ` move_index ` method will overwrite the destination index, and delete the temporary index.
17531753
17541754** Warning**
17551755
1756- The move_index operation will override all settings of the destination,
1756+ The ` move_index ` operation will override all settings of the destination,
17571757There is one exception for the [ slaves] ( #slaves ) parameter which is not impacted.
17581758
17591759For example, if you want to fully update your index ` MyIndex ` every night, we recommend the following process:
17601760 1 . Get settings and synonyms from the old index using [ Get settings] ( #get-settings---get_settings )
1761- and Get synonym - ` get_synonym ` .
1761+ and ` [ Get synonym](#get-synonym--- get_synonym) ` .
17621762 1 . Apply settings and synonyms to the temporary index ` MyTmpIndex ` , (this will create the ` MyTmpIndex ` index)
1763- using [ Set settings] ( #set-settings ) and Batch synonyms - ` batch_synonyms `
1763+ using ` [Set settings](#set-settings) ` and ` [ Batch synonyms](#batch-synonyms--- batch_synonyms) `
17641764 (make sure to remove the [ slaves] ( #slaves ) parameter from the settings if it exists).
17651765 1 . Import your records into a new index using [ Add objects] ( #add-objects---add_objects ) .
17661766 1 . Atomically replace the index ` MyIndex ` with the content and settings of the index ` MyTmpIndex `
1767- using the move_index method.
1767+ using the ` [Move index](#move-index--- move_index) ` method.
17681768 This will automatically override the old index without any downtime on the search.
17691769 1 . You'll end up with only one index called ` MyIndex ` , that contains the records and settings pushed to ` MyTmpIndex `
17701770 and the slave-indices that were initially attached to ` MyIndex ` will be in sync with the new data.
0 commit comments