File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Create the indices and their mapping in Elasticsearch:
1414
1515 $ search_index --create [--models [app[.model] app[.model] ...]]
1616
17- Populate the Elasticsearch mappings with the django models data (index need to be existing):
17+ Populate the Elasticsearch mappings with the Django models data (index need to be existing):
1818
1919::
2020
@@ -26,3 +26,14 @@ Recreate and repopulate the indices:
2626
2727 $ search_index --rebuild [-f] [--models [app[.model] app[.model] ...]] [--parallel] [--refresh]
2828
29+ Recreate and repopulate the indices using aliases:
30+
31+ ::
32+
33+ $ search_index --rebuild --use-alias [--models [app[.model] app[.model] ...]] [--parallel] [--refresh]
34+
35+ Recreate and repopulate the indices using aliases, but not deleting the indices that previously pointed to the aliases:
36+
37+ ::
38+
39+ $ search_index --rebuild --use-alias --use-alias-keep-index [--models [app[.model] app[.model] ...]] [--parallel] [--refresh]
You can’t perform that action at this time.
0 commit comments