lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-6671) Introduce a solr.data.home as root dir for all data
Date Thu, 31 Aug 2017 07:55:00 GMT

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

ASF subversion and git services commented on SOLR-6671:
-------------------------------------------------------

Commit cc2114e77cb8da5143a6093c71c638fea0917842 in lucene-solr's branch refs/heads/branch_7x
from [~janhoy]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=cc2114e ]

SOLR-6671: Move changes entry to 7.0.0

(cherry picked from commit aa7394d)


> Introduce a solr.data.home as root dir for all data
> ---------------------------------------------------
>
>                 Key: SOLR-6671
>                 URL: https://issues.apache.org/jira/browse/SOLR-6671
>             Project: Solr
>          Issue Type: New Feature
>          Components: SolrCloud
>    Affects Versions: 4.10.1
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>             Fix For: 7.0
>
>         Attachments: SOLR-6671.patch, SOLR-6671.patch, SOLR-6671.patch, SOLR-6671.patch,
SOLR-6671.patch, SOLR-6671.patch, SOLR-6671.patch, SOLR-6671.patch
>
>
> Many users prefer to deploy code, config and data on separate disk locations, so the
default of placing the indexes under {{$\{solr.solr.home\}/$\{solr.core.name\}/data}} is not
always wanted.
> In a multi-core/collection system, there is not much help in the {{solr.data.dir}} option,
as it would set the {{dataDir}} to the same folder for all collections. One workaround, if
you don't want to hardcode paths in your {{solrconfig.xml}}, is to specify the {{dataDir}}
property in each {{solr.properties}} file.
> A more elegant solution would be to introduce a new Java-option {{solr.data.home}} which
would be to data the same as {{solr.solr.home}} is for config. If set, all collections would
default their {{dataDir}} as {{$\{solr.data.home\)/$\{solr.core.name\}/data}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message