You don't necessarily need to change the files in solrmarc to keep a vendor branch for the latest solr UNLESS there's a significant change to how the index files are stored on disk. You can do the same with solrmarc and just recompile with ant.

The solrmarc jar dynamically loads the jar files in the lib folder (they're added when you run ant).

Yes, Jetty is a little different than other j2ee containers. Tomcat, for instance expands, the war files in the same folder; Jetty puts them in /tmp (which has it's pros and cons). You can configure this by defining where the work folder is in the Jetty configuration files.

I wouldn't say that solrmarc is a seperate install of solr...it's more of an extension of the core libraries in solr.

If there's a really really cool feature that we need to integrate into the projects (like having multiple indexes), we might make a dev branch that has a version of the nightly solr libraries, but for the most part, the solrmarc core will rely on the most recent "official" tag of the solr libraries. Again, you can take advantage of the incremental enhancements of Solr without needing to keep the jar files in solrmarc up to the nightlies.

One other thing to note is that you may want implement the SMTP appender (or some other log4j appender) that will actively let you know when something has gone wrong (like something can't be read).

HTH,

Wayne

/**
* @author Wayne Graham
* @web http://www.liquidfoot.com
*/
Bob Hope  - "I don't feel old. I don't feel anything till noon. That's when it's time for my nap."

On Mon, Dec 15, 2008 at 8:03 PM, Greg Pendlebury <pendlebu@usq.edu.au> wrote:
 
Good question Bill, along a similar vein I've been wondering over the last few days on solrmarc's relationship with solr in terms of code/dependencies.
 
For example (I think) /vufind/import/dist/lib/apache-solr-* are used by solrmarc during runtime. Do they need to match the version of solr running inside Jetty?
 
And where is solr inside Jetty (/vufind/solr/jetty/webapps/solr.war)?
 
The thread from last week got me thinking along these lines since solrmarc accesses solr's file system space directly it almost seems like solrmarc is really a separate solr install talking to the same index as Jetty's solr. I imagine keeping the versions identical is important then.
 

Greg Pendlebury
Electronic Services Officer (Systems Team)
Division of Academic Information Services
University of Southern Queensland
Phone: +61 7 4631 1501
Fax: +61 7 4631 1841

 


From: Bill Dueber [mailto:bill@dueber.com]
Sent: Tuesday, 16 December 2008 2:21 AM
To: vufind-tech@lists.sourceforge.net
Subject: [VuFind-Tech] How do I add solr nightly libraries to solrmarc?

I've been trying to figure out what libraries in solrmarc should (or even can?) be replaced by the libraries in the solr nightly I'm running.  One option, of course, is "don't bother," but I'd like to not have to comment out all my FastLRUCache stuff every time I update records.

BTW -- for those who haven't tried it, the facet code in the latest nightlies is ridiculously fast.

Anyway ... any pointers?


--
Bill Dueber
Library Systems Programmer
University of Michigan Library

This email (including any attached files) is confidential and is for the intended recipient(s) only. If you received this email by mistake, please, as a courtesy, tell the sender, then delete this email.

The views and opinions are the originator's and do not necessarily reflect those of the University of Southern Queensland. Although all reasonable precautions were taken to ensure that this email contained no viruses at the time it was sent we accept no liability for any losses arising from its receipt.

The University of Southern Queensland is a registered provider of education with the Australian Government (CRICOS Institution Code No's. QLD 00244B / NSW 02225M)

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Vufind-tech mailing list
Vufind-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vufind-tech