Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions app/controllers/concerns/blacklight/catalog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ module Blacklight::Catalog
include Blacklight::Configurable
include Blacklight::SearchContext
include Blacklight::Searchable
include Blacklight::Facetable

# The following code is executed when someone includes blacklight::catalog in their
# own controller.
Expand Down Expand Up @@ -82,11 +81,11 @@ def facet
raise ActionController::RoutingError, 'Not Found' unless @facet

@response = if params[:query_fragment].present?
facet_search_service.facet_suggest_response(@facet.key, params[:query_fragment])
search_service.facet_suggest_response(@facet.key, params[:query_fragment])
else
facet_search_service.facet_field_response(@facet.key)
search_service.facet_field_response(@facet.key)
end

# @display_facet is a Blacklight::Solr::Response::Facets::FacetField
@display_facet = @response.aggregations[@facet.field]

# @presenter is a Blacklight::FacetFieldPresenter
Expand Down
34 changes: 0 additions & 34 deletions app/controllers/concerns/blacklight/facetable.rb

This file was deleted.

5 changes: 0 additions & 5 deletions app/models/facet_search_builder.rb

This file was deleted.

44 changes: 0 additions & 44 deletions app/services/blacklight/facet_search_service.rb

This file was deleted.

154 changes: 0 additions & 154 deletions lib/blacklight/abstract_search_builder.rb

This file was deleted.

3 changes: 0 additions & 3 deletions lib/blacklight/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,6 @@ def initialized_default_configuration?
# @!attribute search_builder_class
# @return [Class] class for converting Blacklight parameters to request parameters for the repository_class
property :search_builder_class, default: ::SearchBuilder
# @!attribute search_builder_class
# @return [Class] class for converting Blacklight parameters to request parameters for the repository_class
property :facet_search_builder_class, default: ::FacetSearchBuilder
# @!attribute response_model
# model that maps index responses to the blacklight response model
# @return [Class]
Expand Down
18 changes: 0 additions & 18 deletions lib/blacklight/facet_search_builder.rb

This file was deleted.

Loading