File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ Features
2727- Management commands for creating, deleting, rebuilding and populating indices.
2828- Elasticsearch auto mapping from django models fields.
2929- Complex field type support (ObjectField, NestedField).
30+ - Index fast using `parallel ` indexing.
3031- Requirements
3132
3233 - Django >= 1.11
Original file line number Diff line number Diff line change @@ -56,3 +56,7 @@ When you execute the command::
5656
5757This will create two index named ``cars `` and ``manufacture ``
5858in Elasticsearch with appropriate mapping.
59+
60+ ** If your model have huge amount of data, its preferred to use `parallel ` indexing.
61+ To do that, you can pass `--parallel ` flag while reindexing or populating.
62+ **
Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ Populate the Elasticsearch mappings with the django models data (index need to b
1818
1919::
2020
21- $ search_index --populate [--models [app[.model] app[.model] ...]]
21+ $ search_index --populate [--models [app[.model] app[.model] ...]] [--parallel]
2222
2323Recreate and repopulate the indices:
2424
2525::
2626
27- $ search_index --rebuild [-f] [--models [app[.model] app[.model] ...]]
27+ $ search_index --rebuild [-f] [--models [app[.model] app[.model] ...]] [--parallel]
2828
You can’t perform that action at this time.
0 commit comments