docs: Fix INDEX_SETTINGS in ES search backend ex.

The key `number_of_shards` lives below the `index` key.

Ref: https://www.elastic.co/guide/en/elasticsearch/reference/2.4/indices-create-index.html#create-index-settings
pull/2738/merge
Nikolai R Kristiansen 2017-01-05 22:18:23 +01:00 zatwierdzone przez Matt Westcott
rodzic 9424a8eab9
commit 54bfd1a802
2 zmienionych plików z 8 dodań i 8 usunięć

Wyświetl plik

@ -199,6 +199,7 @@ Contributors
* Erick M'bwana
* Andreas Nüßlein
* John Heasly
* Nikolai Røed Kristiansen
Translators
===========

Wyświetl plik

@ -134,18 +134,17 @@ Other than ``BACKEND``, the keys are optional and default to the values shown. A
...,
'INDEX_SETTINGS': {
'settings': {
'number_of_shards': 2,
'index': {
'analysis': {
'analyzer': {
'default': {
'type': 'italian'
}
'index': {
'number_of_shards': 1,
'analysis': {
'analyzer': {
'default': {
'type': 'italian'
}
}
}
}
},
}
}
}