Commit 9ce7eaef14c2dc5a76bc220d7ed82e483af7db51

Authored by Andrew Kane
1 parent f9bcc082

Added missing delegation methods - #1518

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
lib/searchkick/query.rb
... ... @@ -12,7 +12,8 @@ module Searchkick
12 12 :took, :error, :model_name, :entry_name, :total_count, :total_entries,
13 13 :current_page, :per_page, :limit_value, :padding, :total_pages, :num_pages,
14 14 :offset_value, :offset, :previous_page, :prev_page, :next_page, :first_page?, :last_page?,
15   - :out_of_range?, :hits, :response, :to_a, :first, :scroll
  15 + :out_of_range?, :hits, :response, :to_a, :first, :scroll, :highlights, :with_highlights,
  16 + :with_score, :misspellings?, :scroll_id, :clear_scroll, :missing_records
16 17  
17 18 def initialize(klass, term = "*", **options)
18 19 unknown_keywords = options.keys - [:aggs, :block, :body, :body_options, :boost,
... ...