lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl <jan....@cominvent.com>
Subject Re: solr 5 leaving tomcat, will I be the only one fearing about this?
Date Mon, 10 Oct 2016 23:32:09 GMT
> For cleaner version control on my system, I create $SOLR_HOME/lib as a
> symlink to another directory that I create myself --
> $INSTALL_DIR/solrlib ... that way, all binary stuff like jars is in the
> *program* version control location, not the *data* location.

That’s right. It is possible to change the location of sharedLib in solr.xml,
but perhaps we should add another location as default too, such as
$INSTALL_DIR/server/solr-lib. And perhaps it should be possible to
add lib dirs with a startup option? -Dsolr.lib.dir=/path/to/libs

Most libs are version sensitive and something you’d want to consider for
upgrade when you upgrade Solr, so they fit better in INSTALL_DIR than in
SOLR_HOME. But there may be other libs that provide some business
logic and fit well in SOLR_HOME/lib.

Jan
Mime
View raw message