Created
April 12, 2017 16:44
-
-
Save anarchivist/7fe62e59081b46f2339fa06b5b737904 to your computer and use it in GitHub Desktop.
Index a sample EAD for ArcLight
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curtido:arclight matienzo$ cd .internal_test_app | |
| curtido:.internal_test_app matienzo$ SOLR_URL=http://localhost:8983/solr/blacklight-core bundle exec rails c | |
| Loading development environment (Rails 5.0.2) | |
| irb(main):001:0> require 'solr_ead' | |
| => true | |
| irb(main):002:0> indexer = SolrEad::Indexer.new | |
| => #<SolrEad::Indexer:0x007f7ff6ef42f0 @solr=#<RSolr::Client:0x007f7ff6ef4160 @uri=#<URI::HTTP http://localhost:8983/solr/blacklight-core/>, @proxy=nil, @connection=#<RSolr::Connection:0x007f7ff6ef4188>, @update_path="update", @options={:url=>"http://localhost:8983/solr/blacklight-core"}>, @options={}> | |
| irb(main):003:0> indexer.create(File.new('/Users/matienzo/Google Drive/Stanford/ArcLight/Sample Data/Stanford/SPEC/a0122.xml')) | |
| /Users/matienzo/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/solrizer-3.1.1/lib/solrizer/field_mapper.rb:169: warning: constant ::Fixnum is deprecated | |
| /Users/matienzo/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/solrizer-3.1.1/lib/solrizer/field_mapper.rb:169: warning: constant ::Fixnum is deprecated | |
| /Users/matienzo/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/solrizer-3.1.1/lib/solrizer/field_mapper.rb:169: warning: constant ::Fixnum is deprecated | |
| /Users/matienzo/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/solr_ead-0.7.2/lib/solr_ead/behaviors.rb:120: warning: constant ::FALSE is deprecated | |
| /Users/matienzo/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/solrizer-3.1.1/lib/solrizer/field_mapper.rb:169: warning: constant ::Fixnum is deprecated | |
| => {"responseHeader"=>{"status"=>0, "QTime"=>139}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment