We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e309db commit 00de1d4Copy full SHA for 00de1d4
lib/blacklight/elasticsearch/response.rb
@@ -9,6 +9,7 @@ class Blacklight::Elasticsearch::Response < ActiveSupport::HashWithIndifferentAc
9
delegate :document_factory, to: :blacklight_config
10
11
# @param [Elasticsearch::API::Response] response
12
+ # @param [Hash, Blacklight::SearchBuilder] request_params a SearchBuilder or a Hash of parameters
13
def initialize(api_response, request_params, options = {})
14
@search_builder = request_params if request_params.is_a?(Blacklight::SearchBuilder)
15
0 commit comments