mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-18 12:11:11 +00:00
We currently index all items in Elasticsearch using the root bulk api (at ``/_bulk``). This API is to allow multiple indices to be inserted into at once. However, Wagtail inserts into one index at a time so this is not needed. If we pass the index name as a parameter in the call to ``bulk()``, the index-specific bulk API will be used instead (at ``/<index name>/_bulk``. The advantage of this change is it makes it possible to implement access control by checking the URL an application is using. This is required in order for the Bulk API to work on certain hosts (such as Divio). |
||
|---|---|---|
| .. | ||
| admin | ||
| api | ||
| bin | ||
| contrib | ||
| core | ||
| documents | ||
| embeds | ||
| images | ||
| project_template | ||
| search | ||
| sites | ||
| snippets | ||
| tests | ||
| users | ||
| utils | ||
| __init__.py | ||