I've installed fedora and solr manually as described in
http://projects.mediashelf.us/projects/active-fedora/wiki/Setting_up_Fedora_and_Solr_for_use_with_ActiveFedora
but that required some fixes, like schema.xml from ActiveFedora was
broken, so I take it from jetty and all forks fine.
Also I have hudra-jetty, cloned from git repo. Fedora runs fine, but
for solr i got
"HTTP ERROR: 404
NOT_FOUND
RequestURI=/solr/development
Powered by Jetty://
"
The main problem is in active-fedora ruby gem.
going by
http://projects.mediashelf.us/projects/active-fedora/wiki/ActiveFedora_Console_Tour
all works fine until
"oh.save"
here is full trace:
ruby-1.9.2-p180 :002 > oh.save
NoMethodError: undefined method `map' for "info:fedora/
afmodel:OralHistory":String
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/solrizer-1.0.4/
lib/solrizer/extractor.rb:39:in `format_node_value'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/solrizer-1.0.4/
lib/solrizer/extractor.rb:21:in `insert_solr_field_value'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:53:in `block (3
levels) in to_solr'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:52:in `each'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:52:in `block (2
levels) in to_solr'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:51:in
`each_pair'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:51:in `block in
to_solr'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:49:in
`each_pair'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:49:in `to_solr'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
fedora-2.2.0/lib/active_fedora/base.rb:876:in `block in to_solr'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
fedora-2.2.0/lib/active_fedora/base.rb:874:in `each_value'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
fedora-2.2.0/lib/active_fedora/base.rb:874:in `to_solr'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
fedora-2.2.0/lib/active_fedora/base.rb:935:in `update_index'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
fedora-2.2.0/lib/active_fedora/base.rb:101:in `save'
from (irb):2
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/railties-3.0.7/
lib/rails/commands/console.rb:44:in `start'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/railties-3.0.7/
lib/rails/commands/console.rb:8:in `start'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/railties-3.0.7/
lib/rails/commands.rb:23:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'