lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <j...@apache.org>
Subject [jira] [Commented] (SOLR-4653) Solr configuration should log inaccessible/ non-existent relative paths <lib dir="...">
Date Tue, 02 Apr 2013 23:49:15 GMT

    [ https://issues.apache.org/jira/browse/SOLR-4653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620415#comment-13620415
] 

Jan Høydahl commented on SOLR-4653:
-----------------------------------

[~dweiss] logging proposal is ok.

However, a better way would be to fail hard (can be made back-compat by checking luceneMatchVersion
and log only for <4.3). In that case how we include contrib libs should change somehow.
Perhaps something like this:
{code}
<lib>${solr.contrib.root}/extraction/lib</lib>
{code}

If user supplies -Dsolr.contrib.root=/path/to/contrib then stuff will work. If nothing is
passed by opts we could default to something that would work for the shipped example config.

Also see my proposal in SOLR-4495. For most of my multi-core deploys I don't bother adding
lib entries to all cores, but use a single sharedLib=$\{solr.solr.home\}/lib in solr.xml.
Allowing multiple sharedLib dirs in solr.xml would allow for more flexible config.
                
> Solr configuration should log inaccessible/ non-existent relative paths <lib dir="...">
> ---------------------------------------------------------------------------------------
>
>                 Key: SOLR-4653
>                 URL: https://issues.apache.org/jira/browse/SOLR-4653
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>            Priority: Trivial
>         Attachments: SOLR-4653.patch
>
>
> Currently the dir path is resolved relative to core's instanceDir but if you don't know
it nothing happens (no warning, no nothing). This is very frustrating.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message