File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ class ProjectDocument(RTDDocTypeMixin, DocType):
21
21
class Meta (object ):
22
22
model = Project
23
23
fields = ('name' , 'slug' , 'description' )
24
+ auto_refresh = False
24
25
25
26
url = fields .TextField (attr = 'get_absolute_url' )
26
27
users = fields .NestedField (properties = {
@@ -52,6 +53,7 @@ class Meta(object):
52
53
model = HTMLFile
53
54
fields = ('commit' ,)
54
55
ignore_signals = settings .ES_PAGE_IGNORE_SIGNALS
56
+ auto_refresh = False
55
57
56
58
project = fields .KeywordField (attr = 'project.slug' )
57
59
version = fields .KeywordField (attr = 'version.slug' )
Original file line number Diff line number Diff line change @@ -349,14 +349,14 @@ def USE_PROMOS(self): # noqa
349
349
'project' : {
350
350
'name' : 'project_index' ,
351
351
'settings' : {'number_of_shards' : 5 ,
352
- 'number_of_replicas' : 0
352
+ 'number_of_replicas' : 1
353
353
}
354
354
},
355
355
'page' : {
356
356
'name' : 'page_index' ,
357
357
'settings' : {
358
358
'number_of_shards' : 5 ,
359
- 'number_of_replicas' : 0 ,
359
+ 'number_of_replicas' : 1 ,
360
360
}
361
361
},
362
362
}
You can’t perform that action at this time.
0 commit comments