Skip to content

Commit 9b32212

Browse files
fixes in docs
1 parent 528e5a0 commit 9b32212

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

docs/global_aggregations.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ Sample view
3535
]
3636
3737
faceted_search_fields = {
38-
'publisher': {
39-
'field': 'publisher.raw',
38+
'state_global': {
39+
'field': 'state.raw',
4040
'enabled': True,
4141
'global': True, # This makes the aggregation global
4242
},

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ Contents:
227227
nested_fields_usage_examples
228228
more_like_this
229229
global_aggregations
230+
demo
230231
changelog
231232
django_elasticsearch_dsl_drf
232233

docs_src/global_aggregations.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ Sample view
3535
]
3636
3737
faceted_search_fields = {
38-
'publisher': {
39-
'field': 'publisher.raw',
38+
'state_global': {
39+
'field': 'state.raw',
4040
'enabled': True,
4141
'global': True, # This makes the aggregation global
4242
},

0 commit comments

Comments
 (0)