code: def batch_search(searches, additional_headers = {})
        url_friendly_searches = searches.each_with_index.map do |search, index|
          { index => search }
        end
        searches_query = { search: url_friendly_searches }
        request_url = "#{base_url}/batch_search.json?#{Rack::Utils.build_nested_query(searches_query)}"
        get_json(request_url, additional_headers)
      end
docs: Perform a batch search.
  
   @param searches [Array] An array valid search queries. Maximum of 6. See search-api documentation for options.
  
   # @see https://github.com/alphagov/search-api/blob/master/doc/search-api.md