Skip to content

Instantly share code, notes, and snippets.

FINAL: ["baseball basketball",
"_query_:\"{!dismax qf=$title_qf pf=$title_pf}sports\"",
"_query_:\"{!dismax qf=$author_qf pf=$author_pf}Karee Abdul Jabbar\"",
"_query_:\"{!dismax qf=$subject_qf pf=$subject_pf}biography\""]
2017-03-09 12:09:12 [DEBUG] Solr query: get select
{"qt"=>"search",
"facet.field"=>["format", "pub_date_sort", "author_facet", "location_facet", "language_facet", "subject_topic_facet", "subject_geo_facet", "subject_era_facet", "subject_form_facet", "subject_local_facet", "lc_1letter_facet", "lc_subclass_facet"],
"facet.query"=>["acq_dt:[2017-03-02T00:00:00Z TO *]", "acq_dt:[2017-02-09T00:00:00Z TO *]", "acq_dt:[2016-09-09T00:00:00Z TO *]", "acq_dt:[2016-03-09T00:00:00Z TO *]"],
"facet.pivot"=>[],
sysops-MacBook-Pro-3% more search_builder.rb
# frozen_string_literal: true
class SearchBuilder < Blacklight::SearchBuilder
include Blacklight::Solr::SearchBuilderBehavior
include BlacklightAdvancedSearch::AdvancedSearchBuilder
self.default_processor_chain += [:add_advanced_parse_q_to_solr, :add_advanced_search_to_solr]
##
# @example Adding a new step to the processor chain
# self.default_processor_chain += [:add_custom_data_to_query]
Instructions:
Been downloading for 3 days and only ~20% through 1 of the 6 FTP sites, so handing on instructions to someone with a dedicated and fast server for download.
See "FTP Access" links at https://eosweb.larc.nasa.gov/datapool
download each:
curl ftp://l5eil01.larc.nasa.gov/ACRIM_III/ACR3L2SC.001/ -o ACR3L2SC.001.txt
get the pathname:
Gemfile
+gem 'blacklight_advanced_search'
app/assets/javascripts/application.js
+//= require 'blacklight_advanced_search'
app/controllers/catalog_controller.rb
+ include BlacklightAdvancedSearch::Controller
+
+=begin
2017-03-02 12:26:11 [INFO] Started GET "/advanced" for 127.0.0.1 at 2017-03-02 12:26:11 -0500
2017-03-02 12:26:11 [WARN] You are setting a key that conflicts with a built-in method OmniAuth::Strategy::Options#host defined in OmniAuth::Strategy::Options. This can cause unexpected behavior when accessing the key via as a property. You can still access the key via the #[] method.
2017-03-02 12:26:11 [WARN] You are setting a key that conflicts with a built-in method OmniAuth::Strategy::Options#login_url defined in OmniAuth::Strategy::Options. This can cause unexpected behavior when accessing the key via as a property. You can still access the key via the #[] method.
2017-03-02 12:26:11 [WARN] You are setting a key that conflicts with a built-in method OmniAuth::Strategy::Options#service_validate_url defined in OmniAuth::Strategy::Options. This can cause unexpected behavior when accessing the key via as a property. You can still access the key via the #[] method.
2017-03-02 12:26:11 [WARN] You are setting a key t
[ActiveJob] Enqueued GeoblacklightJob (Job ID: 3df78640-c70f-490f-8362-4289950649f3) to Async(default) with arguments: {"id"=>"2b88qc16g", "event"=>"CREATED", "exchange"=>"geoblacklight", "doc"=>{"geoblacklight_version"=>"1.0", "dc_identifier_s"=>"2b88qc16g", "layer_slug_s"=>"your-institution-2b88qc16g", "uuid"=>"your-institution-2b88qc16g", "dc_title_s"=>"East Haddam, Conn.", "solr_geom"=>"ENVELOPE(-72.465569, -72.448545, 41.473718, 41.447523)", "dct_provenance_s"=>"Your Institution", "dc_rights_s"=>"Restricted", "dc_description_s"=>"Sanborn fire insurance maps are a rich source of historic data on the urban built environment of North America during the 19th and early 20th centuries. The atlases were created for the purpose of underwriting fire insurance policies, which depended upon accurate and frequently-updated information about construction materials, municipal and transportation infrastructure, industrial and commercial landuse and more. The Yale University Library Map Department scanned its holdings o
search-frontend:
2016-12-02 11:40:33 [INFO] ---------------------in look_up_clio_holdings in application_controller.rb---------------------
2016-12-02 11:40:33 [ERROR] ApplicationController#look_up_clio_holdings exception: ORA-00019: maximum number of session licenses exceeded
search-backend:
2016-12-02 11:40:39 [INFO] Started GET "/holdings/status/12042719/6541725/10182963/3616983/407352/2902298/754167/5707018/1287789/8102959/12433083/1210472/7792873/3143270/12814538/728657/1342111/7138412/5624023/1214142/3567137/6750014/4135277/4922483/4922472" for 10.0.2.2 at 2016-12-02 11:40:39 -0500
/home/vagrant/.rvm/gems/ruby-2.3.1@search-backend/gems/activerecord-4.0.0/lib/active_record/associations/has_many_association.rb:75: warning: circular argument reference - reflection
/home/vagrant/.rvm/gems/ruby-2.3.1@search-backend/gems/activerecord-4.0.0/lib/active_record/associations/has_many_association.rb:79: warning: circular argument reference - reflection
/home/vagrant/.rvm/gems/ruby-2.3.1@search-backend/gems/activer
2016-11-07 17:55:05 [INFO] Started GET "/catalog/11303506" for 130.132.49.107 at 2016-11-07 17:55:05 -0500
2016-11-07 17:55:05 [INFO] Processing by CatalogController#show as HTML
2016-11-07 17:55:05 [INFO] Parameters: {"id"=>"11303506"}
2016-11-07 17:55:05 [INFO] Rendered _formats/clio/_catalog_show_toolbar.html.haml (1.2ms)
2016-11-07 17:55:05 [INFO] Rendered _formats/book/_catalog_show.html.haml (63.6ms)
2016-11-07 17:55:05 [INFO] Rendered _formats/clio/_catalog_show_holdings_online.html.haml (0.0ms)
2016-11-07 17:55:05 [INFO] Rendered _formats/clio/_catalog_show_holdings_display.html.haml (0.2ms)
2016-11-07 17:55:05 [INFO] Rendered _formats/clio/_catalog_show_holdings_hathi.html.haml (0.0ms)
2016-11-07 17:55:05 [INFO] Rendered _formats/clio/_catalog_show_holdings_google.html.haml (0.3ms)
2016-11-07 17:55:05 [INFO] Rendered _formats/clio/_catalog_show_holdings.html.haml (2.2ms)
@yulgit1
yulgit1 / colectica1
Created September 8, 2016 21:27
colectica manifest and handle map for update
145a9e23-3315-4f93-bcdf-7c996262de7a-published.zip
145a9e23-3315-4f93-bcdf-7c996262de7a-published[1].zip
145a9e23-3315-4f93-bcdf-7c996262de7a-published[2].zip
[orig]
114D16775BE3B76206B226B4075CF64DB844CA1220A81274BC7A3525DA897116 data/README.txt
4C5FFD74FDB735451D3C4528C4E24D7662E6907404EB433159EB9ED64F4DCC4B data/Butler_Dynes_AJPS_2015a_readme.pdf
366736B2507D1A634377FBEB240D5F73B98C056DF78C440786D260D0BF41C5F7 data/145a9e23-3315-4f93-bcdf-7c996262de7a.ddi32.xml
10079.1/xsj67xv,data/README.txt,8822f5f0-032c-4270-9878-57d9617177b9
10079.1/t1g3zxd,data/Butler_Dynes_AJPS_2015a_readme.pdf,05eb315a-8331-49ff-9218-9a8178968a29
sysops-MBP-2% vagrant up --provider aws
Bringing machine 'default' up with 'aws' provider...
==> default: Box 'aws_dummy' could not be found. Attempting to find and install...
default: Box Provider: aws
default: Box Version: >= 0
==> default: Box file was not detected as metadata. Adding it directly...
==> default: Adding box 'aws_dummy' (v0) for provider: aws
default: Downloading: https://github.com/mitchellh/vagrant-aws/raw/master/dummy.box
==> default: Successfully added box 'aws_dummy' (v0) for 'aws'!
==> default: Couldn't find Cheffile at ./Cheffile.