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
27
27
- Management commands for creating, deleting, rebuilding and populating indices.
28
28
- Elasticsearch auto mapping from django models fields.
29
29
- Complex field type support (ObjectField, NestedField).
30
+ - Index fast using `parallel ` indexing.
30
31
- Requirements
31
32
32
33
- Django >= 1.11
Original file line number Diff line number Diff line change @@ -56,3 +56,7 @@ When you execute the command::
56
56
57
57
This will create two index named ``cars `` and ``manufacture ``
58
58
in 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
18
18
19
19
::
20
20
21
- $ search_index --populate [--models [app[.model] app[.model] ...]]
21
+ $ search_index --populate [--models [app[.model] app[.model] ...]] [--parallel]
22
22
23
23
Recreate and repopulate the indices:
24
24
25
25
::
26
26
27
- $ search_index --rebuild [-f] [--models [app[.model] app[.model] ...]]
27
+ $ search_index --rebuild [-f] [--models [app[.model] app[.model] ...]] [--parallel]
28
28
You can’t perform that action at this time.
0 commit comments