Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 80019 invoked from network); 26 Oct 2010 15:31:31 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Oct 2010 15:31:31 -0000 Received: (qmail 17628 invoked by uid 500); 26 Oct 2010 15:31:28 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 17593 invoked by uid 500); 26 Oct 2010 15:31:25 -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 17571 invoked by uid 99); 26 Oct 2010 15:31:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Oct 2010 15:31:25 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of israelekpo@gmail.com designates 209.85.214.176 as permitted sender) Received: from [209.85.214.176] (HELO mail-iw0-f176.google.com) (209.85.214.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Oct 2010 15:31:18 +0000 Received: by iwn7 with SMTP id 7so5488933iwn.35 for ; Tue, 26 Oct 2010 08:30:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=dA3Q8DTxiL4gP50PUnO9sptnfWjJiAmeYLvarBsFRNE=; b=i7F5i5ggw5i/st3gFMbMQiCsBk1wVVVqQsu33ZHS6KaIn7hue1u7UuqCuVhN88fH+p ntQZki8RixqcO6cZMjwoHFA/HgTz1xN3yM6y0431xF6Hollm6azfL6o8YQpUvFRW9N5t shQxrgQKXsReo7MzSB79kPcN+Pyt8c7TGKBms= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=rPr68cY4wMyrAlIJbL9s4u2jSlzQtZiL0QJOZs5+IPl3qjOoRegrYKO2Kj5kyo1aKg xLjXc3s/NDzb0x7eTbxTMj48mDVDkqZQ2JK44PB38OGOAwmBZjVHPVHwTplLin1WWMOo qTb99NTWmSMU4bSdtbuzCK9/sNKuTm/Dv7vcs= MIME-Version: 1.0 Received: by 10.231.79.77 with SMTP id o13mr7495360ibk.36.1288107057704; Tue, 26 Oct 2010 08:30:57 -0700 (PDT) Received: by 10.231.118.141 with HTTP; Tue, 26 Oct 2010 08:30:57 -0700 (PDT) In-Reply-To: <1288104399.20931.1402031939@webmail.messagingengine.com> References: <4CC6DA5C.8020702@gmail.com> <1288104399.20931.1402031939@webmail.messagingengine.com> Date: Tue, 26 Oct 2010 11:30:57 -0400 Message-ID: Subject: Re: Documents are deleted when Solr is restarted From: Israel Ekpo To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=001485f872ca9b719c049386cb8a X-Virus-Checked: Checked by ClamAV on apache.org --001485f872ca9b719c049386cb8a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable The Solr home is the -Dsolr.solr.home Java System property Also make sure that -Dsolr.data.dir is define for your data directory, if i= t is not already defined in the solrconfig.xml file On Tue, Oct 26, 2010 at 10:46 AM, Upayavira wrote: > You need to watch what you are setting your solr.home to. That is where > your indexes are being written. Are they getting overwritten/lost > somehow. Watch the files in that dir while doing a restart. > > That's a start at least. > > Upayavira > > On Tue, 26 Oct 2010 16:40 +0300, "Mackram Raydan" > wrote: > > Hey everyone, > > > > I apologize if this question is rudimentary but it is getting to me and > > I did not find anything reasonable about it online. > > > > So basically I have a Solr 1.4.1 setup behind Tomcat 6. I used the > > SolrTomcat wiki page to setup. The system works exactly the way I want > > it (proper search, highlighting, etc...). The problem however is when I > > restart my Tomcat server all the data in Solr (ie the index) is simply > > lost. The admin shows me the number of docs is 0 when it was before in > > the thousands. > > > > Can someone please help me understand why the above is happening and ho= w > > can I workaround it if possible? > > > > Big thanks for any help you can send my way. > > > > Regards, > > > > Mackram > > > --=20 =C2=B0O=C2=B0 "Good Enough" is not good enough. To give anything less than your best is to sacrifice the gift. Quality First. Measure Twice. Cut Once. http://www.israelekpo.com/ --001485f872ca9b719c049386cb8a--