[PATCH v2 compass-ci] lib/es_query.rb: index error during query

8 Dec
2020
8 Dec
'20
8:51 p.m.
Signed-off-by: cuiyili <2268260388@qq.com> --- lib/es_query.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/es_query.rb b/lib/es_query.rb index 3827ea8..c1342c5 100644 --- a/lib/es_query.rb +++ b/lib/es_query.rb @@ -31,7 +31,7 @@ class ESQuery } }, size: size } - @client.search index: 'jobs*', body: query + @client.search index: @index << '*', body: query end def traverse_field(size) -- 2.23.0
1594
Age (days ago)
1594
Last active (days ago)
0 comments
1 participants
participants (1)
-
Cui Yili