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)