diff --git a/lib/chewy/search.rb b/lib/chewy/search.rb index 262466009..1ff220dab 100644 --- a/lib/chewy/search.rb +++ b/lib/chewy/search.rb @@ -10,7 +10,7 @@ module Search :boost_factor, :weight, :random_score, :field_value_factor, :decay, :aggregations, :suggest, :none, :strategy, :query, :filter, :post_filter, :boost_mode, :score_mode, :order, :reorder, :only, :types, :delete_all, :find, :total, - :total_count, :total_entries, :unlimited, to: :all + :total_count, :total_entries, :unlimited, :script_fields, to: :all end module ClassMethods