File tree 3 files changed +7
-5
lines changed
3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 6
6
- image : ' cimg/python:3.6'
7
7
environment :
8
8
TOX_POSARGS : ' '
9
- - image : ' docker.elastic.co/elasticsearch/elasticsearch:6.8.12 '
9
+ - image : ' docker.elastic.co/elasticsearch/elasticsearch:7.9.2 '
10
10
name : search
11
+ environment :
12
+ discovery.type : single-node
11
13
steps :
12
14
- checkout
13
15
- run : git submodule sync
Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ def total_count(self):
275
275
# we are only interested in the total count
276
276
s = s .extra (size = 0 )
277
277
s = s .execute ()
278
- return s .hits .total
278
+ return s .hits .total [ 'value' ]
279
279
280
280
def query (self , search , query ):
281
281
"""
Original file line number Diff line number Diff line change @@ -52,9 +52,9 @@ django-allauth==0.42.0 # pyup: ignore
52
52
GitPython==3.1.11
53
53
54
54
# Search
55
- elasticsearch==6.8 .1 # pyup: <7 .0.0
56
- elasticsearch-dsl==6.4 .0 # pyup: <7 .0
57
- django-elasticsearch-dsl==6.4.2 # pyup: <7 .0
55
+ elasticsearch==7.9 .1 # pyup: <8 .0.0
56
+ elasticsearch-dsl==7.3 .0 # pyup: <8 .0
57
+ django-elasticsearch-dsl==7.1.4 # pyup: <8 .0
58
58
selectolax==0.2.9
59
59
60
60
# NOTE: this dep can be removed in python 3.7 in favor of ``date.fromisoformat``
You can’t perform that action at this time.
0 commit comments