Skip to content

Commit

Permalink
Kithe: add BulkLoadingService
Browse files Browse the repository at this point in the history
  • Loading branch information
ewlarson committed Dec 7, 2023
1 parent 3215e92 commit ee776cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/catalog_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class CatalogController < ApplicationController
include BlacklightAdvancedSearch::Controller
include BlacklightRangeLimit::ControllerOverride
include Blacklight::Catalog
self.search_service_class = Kithe::BlacklightTools::BulkLoadingSearchService

configure_blacklight do |config|
# default advanced config values
Expand Down
2 changes: 2 additions & 0 deletions app/models/solr_document.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ class SolrDocument
include WmsRewriteConcern
include B1gLicensedDataConcern

attr_accessor :model

# self.unique_key = 'id'
self.unique_key = Settings.FIELDS.B1G_GEOMG_ID

Expand Down

0 comments on commit ee776cc

Please sign in to comment.