Just wanted to jump in and explain why I made 2 solr &quot;directories&quot;. There were a few times when our solr indexing schema/config was out of sync with our front-end solr. I had made some changes to the front-end solr files, but because our indexer was not using the same/up-to-date solr we ran into some problems. So my idea was for the indexer to use the same solr as the front-end. And by that, I mean SVN externals.<br>
<br>So, trunk/rails/solr is an SVN externals link to trunk/solr. But we still have to SVN externals the blacklight_indexer stuff. If you look at the following directory, you won&#39;t see &quot;solr&quot; in the listing. It gets pulled in when you do a checkout/update:<br>
<br><a href="http://blacklight.rubyforge.org/svn/trunk/rails/">http://blacklight.rubyforge.org/svn/trunk/rails/</a><br><br>Does that help? <br><br>Bob, if you want... you can sync up your indexer&#39;s solr by doing:<br>
<br>
export SVN_EDITOR=&lt;YOUR TEXT EDITOR&gt;<br>
cd blacklight_importer<br>
svn pe svn:externals .<br>
<br>
When your text editor opens, add this to the first line:<br>
<br>
solr <a href="http://blacklight.rubyforge.org/svn/trunk/solr">http://blacklight.rubyforge.org/svn/trunk/solr</a><br>
<br>
Do a commit and you&#39;ll be good to go! Then you can start using the blacklight_importer/solr as your solr home. Any time I make a change and commit, you&#39;ll download the changes when you run an update. I&#39;ve already added svn:ignore to the solr/data dir.<br>
<br>Matt<br><br><div class="gmail_quote">On Fri, May 16, 2008 at 5:08 PM, Naomi Dushay &lt;<a href="mailto:ndushay@stanford.edu">ndushay@stanford.edu</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Bess,<br>
<br>
This is helpful information. &nbsp;I think explanations in the readme is probably sufficient. &nbsp; At this &quot;get the prototype running, check out features, use local data&quot; stage, it was more a point of curiosity as to why there were two solr directories.<br>

<br>
Like so many others, we are evaluating blacklight and other next generation disocvery environments, so understanding how to do things such as configure code for your institution&#39;s practices, for production vs. testing and so on is really helpful.<br>

<br>
- Naomi<br>
who got the incorrect title of the Beatles song: &nbsp;&quot;Within You Without You&quot; is the correct title<div><div></div><div class="Wj3C7c"><br>
<br>
On May 16, 2008, at 12:11 PM, Elizabeth Sadler wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi, Naomi.<br>
<br>
Well, you&#39;re right, it probably shouldn&#39;t come that way by default. The thing is, we haven&#39;t really settled on a good &quot;out of the box&quot; way to run blacklight. For testing purposes, you can run a copy of solr locally, and that&#39;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&#39;ve split out a solr directory that could easily be checked out to that other server.<br>

<br>
So for me, if I&#39;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&#39;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.<br>

<br>
Is it too confusing to have both of them in the checkout, though? Would it help if we put something in the readme? I&#39;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?<br>

<br>
Bess<br>
<br>
On 16-May-08, at 2:19 PM, Naomi Dushay wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I was just examining the blacklight code, and it appears the code I<br>
pulled down from SVN has a solr directory both inside the rails<br>
directory and also at the same level as the rails directory. &nbsp;Is this<br>
intentional?<br>
<br>
- Naomi<br>
(who suddenly is thinking of the Beatles song &quot;Across the<br>
Universe&quot; ... within you and without you ...<br>
_______________________________________________<br>
Blacklight-development mailing list<br>
<a href="mailto:Blacklight-development@rubyforge.org" target="_blank">Blacklight-development@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/blacklight-development" target="_blank">http://rubyforge.org/mailman/listinfo/blacklight-development</a><br>
</blockquote>
<br>
Elizabeth (Bess) Sadler<br>
Research and Development Librarian<br>
Digital Scholarship Services (DSS)<br>
Box 400129<br>
Alderman Library<br>
University of Virginia<br>
Charlottesville, VA 22904<br>
<br>
<a href="mailto:bess@virginia.edu" target="_blank">bess@virginia.edu</a><br>
(434) 243-2305<br>
<br>
<br>
_______________________________________________<br>
Blacklight-development mailing list<br>
<a href="mailto:Blacklight-development@rubyforge.org" target="_blank">Blacklight-development@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/blacklight-development" target="_blank">http://rubyforge.org/mailman/listinfo/blacklight-development</a><br>
</blockquote>
<br></div></div><font color="#888888">
Naomi Dushay<br>
<a href="mailto:ndushay@stanford.edu" target="_blank">ndushay@stanford.edu</a></font><div><div></div><div class="Wj3C7c"><br>
<br>
<br>
<br>
_______________________________________________<br>
Blacklight-development mailing list<br>
<a href="mailto:Blacklight-development@rubyforge.org" target="_blank">Blacklight-development@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/blacklight-development" target="_blank">http://rubyforge.org/mailman/listinfo/blacklight-development</a><br>
</div></div></blockquote></div><br>