You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: search_service.rb
    path of file: ./repos/hyrax/app/services/hyrax
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Hyrax
  class Sear
    
    def method_missing(method_name, *arguments, &block)
      if scope&.respond_to?(method_name)
        Deprecation.warn(self.class, "Calling `#{method_name}` on scope " \
          'is deprecated and will be removed in Blacklight 8. Call #to_h first if you ' \
          ' need to use hash methods (or, preferably, use your own SearchState implementation)')
        scope&.public_send(method_name, *arguments, &block)
      else
        super
      end