lib/elastic_search/query_builder.rb in elasticsearch-query-builder-0.1.6 vs lib/elastic_search/query_builder.rb in elasticsearch-query-builder-0.1.7
- old
+ new
@@ -12,10 +12,10 @@
should: %i[query bool should],
functions: %i[functions],
ids: %i[query terms _id],
size: [:size],
fields: %i[_source],
- range: %i[bool must range],
+ range: %i[query bool must range],
sort: %i[sort],
aggs: [:aggs]
}.freeze
METHODS.each do |method, path|
define_method(method) do |body|