Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 60476 invoked from network); 26 Feb 2009 10:57:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Feb 2009 10:57:47 -0000 Received: (qmail 19401 invoked by uid 500); 26 Feb 2009 10:57:44 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 19377 invoked by uid 500); 26 Feb 2009 10:57:43 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 19364 invoked by uid 99); 26 Feb 2009 10:57:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Feb 2009 02:57:43 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of vonk.thijs@gmail.com designates 209.85.219.157 as permitted sender) Received: from [209.85.219.157] (HELO mail-ew0-f157.google.com) (209.85.219.157) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Feb 2009 10:57:35 +0000 Received: by ewy1 with SMTP id 1so576875ewy.5 for ; Thu, 26 Feb 2009 02:57:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=uy89KL7x39v6Q6QYGyZoPfXAcV4H8aD8IeQeLGJnbAM=; b=aXmconmjwzT+M5cebuBW1HAr4mPZxs9qaXg9PGb3H/YZ/6RNi/ZFjtWpETmANpgYXg uwvllGDkbaYBfJPz9fKLTWiMZ5vRPHD3cjgbOpleIGvFzMhaBRXfg/EI7qSNL0VA+HE3 0/GM0ZBYRhRHjFDrQGdQZcT7uSgcY60t/Hh/s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=VK+MLsAY3ZnzkGIrZJ4J7LzQK2Sk1drC7NuZFHFOInJBKtWPf+1gRdT/NtP+gkMqwi JAqXpAP5sZ+rMcGOHVJE6o7eu9bb7XMeIeNWxvveN3g3MoL1IOp4jAzBEVVfEMqYS6CR Pe+VhSGrzy7NYMbkiBBtuAenQmwl9+usdPIxw= Received: by 10.211.196.13 with SMTP id y13mr813234ebp.76.1235645834349; Thu, 26 Feb 2009 02:57:14 -0800 (PST) Received: from ?192.168.252.60? (office.maxxton.com [213.84.102.34]) by mx.google.com with ESMTPS id 28sm2490938eye.39.2009.02.26.02.57.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 26 Feb 2009 02:57:13 -0800 (PST) Message-ID: <49A67546.7080702@gmail.com> Date: Thu, 26 Feb 2009 11:56:06 +0100 From: Thijs User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b3pre) Gecko/20081204 Thunderbird/3.0b1 MIME-Version: 1.0 To: solr-user@lucene.apache.org Subject: dataDir configuration Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I just upgraded from solr-1.3-dev to 1.4-dev and I'm having issues with the location of the dataDir. I configure solr through -Dsolr.solr.home= /u01/app/apptest/solr In v1.3 the datadir is located in /u01/app/apptest/solr/data However when I dorp the 1.4 war in place the dataDir is opened at /u01/app/apptest/apache-solr/bin/data this is the tomcat installation dir. This is the LOG from starting up tomcat: INFO: using system property solr.solr.home: /u01/app/apptest/solr Feb 26, 2009 11:17:09 AM org.apache.solr.core.SolrResourceLoader INFO: Solr home set to '/u01/app/apptest/solr/' Feb 26, 2009 11:17:09 AM org.apache.solr.core.SolrResourceLoader createClassLoader INFO: Reusing parent classloader Feb 26, 2009 11:17:09 AM org.apache.solr.core.SolrConfig INFO: Loaded SolrConfig: solrconfig.xml Feb 26, 2009 11:17:09 AM org.apache.solr.core.SolrCore INFO: Opening new SolrCore at /u01/app/apptest/solr/, dataDir=./data/ And this is from solr admin cwd=/u01/app/apptest/apache-solr/bin SolrHome=/u01/app/apptest/solr/ I don't have a solr.xml nor do I have a configured in solrconfig.xml Has the behavior changed from the dataDir being relative to solrHome, to being relative to the working directory? Do I have to set this manually to the correct directory? Thijs