wagtail/wagtail
Karl Hobley 1849f0d54a Pass index name in URL to Bulk API
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).
2018-04-20 15:02:46 +01:00
..
admin fix isort 2018-04-20 12:50:59 +01:00
api isort fix 2018-04-13 12:22:29 +01:00
bin Add Python 2 check to wagtail command 2018-03-23 12:28:57 +00:00
contrib changes message.error to message.validation_error 2018-04-19 16:16:43 +01:00
core Add a meaningful error message for invalid arguments to pageurl (#4228) 2018-04-20 09:02:29 +02:00
documents Localize verbose names (#4397, fixing #2591) 2018-03-19 13:41:49 +01:00
embeds Localize verbose names (#4397, fixing #2591) 2018-03-19 13:41:49 +01:00
images ImageChooser now sets a default title based on filename. Fix #2844 (#4385) 2018-04-02 17:11:49 +03:00
project_template Allow any host in development 2018-04-13 11:36:26 +01:00
search Pass index name in URL to Bulk API 2018-04-20 15:02:46 +01:00
sites Localize verbose names (#4397, fixing #2591) 2018-03-19 13:41:49 +01:00
snippets changes message.error to message.validation_error 2018-04-19 16:16:43 +01:00
tests Improved 'purge_page_from_cache' to purge the url for any managed language 2018-04-18 11:28:23 +01:00
users fix isort 2018-04-20 12:50:59 +01:00
utils Allow overriding login form via `WAGTAILADMIN_USER_LOGIN_FORM` setting 2018-01-03 15:57:40 +00:00
__init__.py Version bump to start work on 2.1 2018-01-30 16:36:19 +00:00