Skip to content

Commit 05ee76c

Browse files
author
maxiloc
authored
Merge pull request #78 from algoliareadmebot/master
Update README
2 parents 8c9464a + 90791d5 commit 05ee76c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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,
17571757
There is one exception for the [slaves](#slaves) parameter which is not impacted.
17581758

17591759
For 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---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---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](#move-index---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

Comments
 (0)