app/services/hyrax/search_service.rb
##
# Retrieve a set of documents by id
# @param [Array] ids
# @param [HashWithIndifferentAccess] extra_controller_params
Retrieve a set of documents by id
Retrieve a set of documents by id
def fetch_many(ids, extra_controller_params)
      extra_controller_params ||= {}
      query = search_builder
              .with(user_params)
              .where(blacklight_config.document_model.unique_key => ids)
              .merge(blacklight_config.fetch_many_document_params)
              .merge(extra_controller_params)
      solr_response = repository.search(query)
      [solr_response, solr_response.documents]
    end
def fetch_many ( ids , extra_controller_params ) extra_controller_params ||= { } query = search_builder . with ( user_params ) . where ( blacklight_config . document_model . unique_key => ids ) . merge ( blacklight_config . fetch_many_document_params ) . merge ( extra_controller_params ) solr_response = repository . search ( query ) [ solr_response , solr_response . documents ] end
Retrieve a set of documents by id
Retrieve a set of documents by id
ids
<not_specific>
extra_controller_params
<not_specific>
<not_specific>
None