> 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

Reply via email to