Michael, There is indeed, but on the table level. Lets say you have a table called books which contains lots of data, you can just create a model Book and do the following:
class Book < < ActiveRecord::Base acts_as_solr end Then you can just open script/console and type: Book.rebuild_solr_index Also its good to look at the acts_as_solr's api (http://acts-as-solr.rubyforge.org) for a complete list of options you can pass in. -- Thiago Jackiw acts_as_solr => http://acts-as-solr.rubyforge.org Sitealizer => http://sitealizer.rubyforge.org On 5/4/07, Michael Frederick <[EMAIL PROTECTED]> wrote:
After Rob's enlightening presentation last night, I was inspired to try out Solr and acts_as_solr. Is there a way to get Solr to index an existing database? I know I could create a big xml file, but it seems that the plugin might have some sort of shortcut for that. - Michael Frederick _______________________________________________ Sdruby mailing list [email protected] http://lists.sdruby.com/mailman/listinfo/sdruby
_______________________________________________ Sdruby mailing list [email protected] http://lists.sdruby.com/mailman/listinfo/sdruby
