Hi,

On Mon, Sep 23, 2013 at 5:08 AM, Mathieu Saby <mathieu.saby@univ-rennes2.fr> wrote:
Sorry, I was wrong, this pach only asked to create an "installdir" line in koha-conf.
But that does not solve my problem : why is there a reference to "installdir" in "Koha / Koha / SearchEngine / Solr / Config.pm" if installdir is not defined in standard koha-conf.xml? Is it a bug to fix?

Yes,references to installdir are a bug, IMO, as they won't work.  As far as your own patch is concerned, if the configuration file must live outside the database, I suggest following the example of this line in etc/koha-conf.xml:

 <queryparser_config>__KOHA_CONF_DIR__/searchengine/queryparser.yaml</queryparser_config>

Specifying the full path to the new config file in koha-conf.xml is safest.  It is actually an error to assume that Koha's configuration directory is a child of an "installation" directory -- for example, the Debian packages don't lay files out like that.

Regards,

Galen
--
Galen Charlton
Manager of Implementation
Equinox Software, Inc. / The Open Source Experts
email:  gmc@esilibrary.com
direct: +1 770-709-5581
cell:   +1 404-984-4366
skype:  gmcharlt
web:    http://www.esilibrary.com/
Supporting Koha and Evergreen: http://koha-community.org & http://evergreen-ils.org