Return-Path: Delivered-To: apmail-incubator-jspwiki-user-archive@minotaur.apache.org Received: (qmail 25456 invoked from network); 22 Apr 2009 04:35:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Apr 2009 04:35:48 -0000 Received: (qmail 35779 invoked by uid 500); 22 Apr 2009 04:35:48 -0000 Delivered-To: apmail-incubator-jspwiki-user-archive@incubator.apache.org Received: (qmail 35724 invoked by uid 500); 22 Apr 2009 04:35:47 -0000 Mailing-List: contact jspwiki-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-user@incubator.apache.org Delivered-To: mailing list jspwiki-user@incubator.apache.org Received: (qmail 35714 invoked by uid 99); 22 Apr 2009 04:35:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Apr 2009 04:35:47 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of harry.metske@gmail.com designates 209.85.218.219 as permitted sender) Received: from [209.85.218.219] (HELO mail-bw0-f219.google.com) (209.85.218.219) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Apr 2009 04:35:36 +0000 Received: by bwz19 with SMTP id 19so2763822bwz.12 for ; Tue, 21 Apr 2009 21:35:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=h4hA2PVQytQ5hPKhb0iiXAlrDxhwE0TNnpSYsTLeg0c=; b=Ngs0CvH8BMbKRNl7CgEXtAT41h7LKtq+Sd3QOP99KVI22nNh2JmQ8cGv+gT4IcR3F3 90J7GK6meNHw/KmigB/LATg7rNtYltkvG1aFZVhaRJ0UHDQqf7SVD2r/qRgbZVzdTBb8 ZBxze+BBj7RQfqQim2WMT47+ZN9VLMoDx4Cwg= 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=GxOhLcO1LEItig53RkjcjEut0E2RixWABU4niIc5v5e058NrJSpD4niu8X7tgo0NML qY7/H9ZXLgZxTmsO7O1jfk1PB05MVEwE+S6AWMMvUcKq7QgSSJuXn8ikSXgnx1W/Z0xr xki8MA8D4el4y7bybSZtpmn5OF0Su9TjT5oaE= MIME-Version: 1.0 Received: by 10.223.123.210 with SMTP id q18mr2334719far.63.1240374916467; Tue, 21 Apr 2009 21:35:16 -0700 (PDT) In-Reply-To: References: Date: Wed, 22 Apr 2009 06:35:16 +0200 Message-ID: <3a6c97f00904212135p526c2a01oa3e8565961bd5664@mail.gmail.com> Subject: Re: How to rebuild search index and page index From: Harry Metske To: jspwiki-user@incubator.apache.org Content-Type: multipart/alternative; boundary=001636988a0b48cd5604681d4a98 X-Virus-Checked: Checked by ClamAV on apache.org --001636988a0b48cd5604681d4a98 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit the easiest way is to completely empty the work directory, both the lucene index and the refmanager files will be recreated on startup (which will take a bit longer). make sure it is writable for the wiki the log should indicate that these things get recreated, and the index page should also work. Harry 2009/4/22 Ben Thompson > Question for the group. > > We have JSPWiki v2.8.1 running under tomcat on the mainframe. For DR > purposes I have setup a copy of JSPWiki running under GLASSFISH on a > windows machine and have replicated the pages from the mainframe. The > new wiki works correctly and can see all the copied pages, however none > these can be searched or have an entry in the index page. If I edit the > a page the contents are added to search and the index page. > > > > I have found several entries in JSPWiki.org which say all I need to do > is to modify the repository outside JSPWiki, and to force a reindex is > to delete $workdir/lucene. I have tried this and is does not seem to > work. > > > > Any other solutions or should I just copy the lucene index every time I > replicate the wiki > > > > Thanks > > > > Benjamin Thompson > Systems Programmer > Data Centre Services > Northern Territory Government > ph (08) 89997693 > > > > --001636988a0b48cd5604681d4a98--