[Blacklight-development] solr dir within and without rails dir?

Elizabeth Sadler eos8d at virginia.edu
Fri May 16 15:11:21 EDT 2008


Hi, Naomi.

Well, you're right, it probably shouldn't come that way by default.  
The thing is, we haven't really settled on a good "out of the box" way  
to run blacklight. For testing purposes, you can run a copy of solr  
locally, and that's what that solr directory inside the rails  
directory is doing there. I think its also handy for running unit  
tests. However, you get greatly increased performance if you can run  
solr on a separate server from the rails side of things, and to make  
that easy we've split out a solr directory that could easily be  
checked out to that other server.

So for me, if I'm just playing around trying to see if something runs  
and is passing tests, I fire it up and use the default (internal)  
solr. If I'm for reals setting up a new installation, I check out  
rails on one machine, I check out the external solr on a different  
machine, configure them and make them talk to each other.

Is it too confusing to have both of them in the checkout, though?  
Would it help if we put something in the readme? I'm in the process of  
writing up a pretty detailed description of how we set up a production  
instance of blacklight... maybe that will also help?

Bess

On 16-May-08, at 2:19 PM, Naomi Dushay wrote:

> I was just examining the blacklight code, and it appears the code I
> pulled down from SVN has a solr directory both inside the rails
> directory and also at the same level as the rails directory.  Is this
> intentional?
>
> - Naomi
> (who suddenly is thinking of the Beatles song "Across the
> Universe" ... within you and without you ...
> _______________________________________________
> Blacklight-development mailing list
> Blacklight-development at rubyforge.org
> http://rubyforge.org/mailman/listinfo/blacklight-development

Elizabeth (Bess) Sadler
Research and Development Librarian
Digital Scholarship Services (DSS)
Box 400129
Alderman Library
University of Virginia
Charlottesville, VA 22904

bess at virginia.edu
(434) 243-2305




More information about the Blacklight-development mailing list