Sha256: 06c4127e5bb63937a14298eef78393e01bdbf0fd2fbba98d0c73dc1a1d9c141a
Contents?: true
Size: 529 Bytes
Versions: 15
Compression:
Stored size: 529 Bytes
Contents
# frozen_string_literal: true module Blacklight::Searchable # @return [Blacklight::SearchService] def search_service search_service_class.new(config: blacklight_config, user_params: search_state.to_h, **search_service_context) end # @return [Hash] a hash of context information to pass through to the search service def search_service_context {} end # @return [Blacklight::SuggestSearch] def suggestions_service Blacklight::SuggestSearch.new(params, search_service.repository).suggestions end end
Version data entries
15 entries across 15 versions & 1 rubygems