kopia lustrzana https://github.com/wagtail/wagtail
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-settingspull/2738/merge
rodzic
9424a8eab9
commit
54bfd1a802
|
@ -199,6 +199,7 @@ Contributors
|
|||
* Erick M'bwana
|
||||
* Andreas Nüßlein
|
||||
* John Heasly
|
||||
* Nikolai Røed Kristiansen
|
||||
|
||||
Translators
|
||||
===========
|
||||
|
|
|
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue