Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 75171 invoked from network); 1 Nov 2007 10:55:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Nov 2007 10:55:56 -0000 Received: (qmail 27142 invoked by uid 500); 1 Nov 2007 10:55:43 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 27124 invoked by uid 500); 1 Nov 2007 10:55:43 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 27115 invoked by uid 99); 1 Nov 2007 10:55:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2007 03:55:43 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of alexandremartins@gmail.com designates 209.85.198.188 as permitted sender) Received: from [209.85.198.188] (HELO rv-out-0910.google.com) (209.85.198.188) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2007 10:55:45 +0000 Received: by rv-out-0910.google.com with SMTP id k20so371616rvb for ; Thu, 01 Nov 2007 03:55:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=ONbTQ6SgNXgHovb/sP215vC7tLDmIcTWnRH+K12KTeo=; b=o8WzYOP8KyFEnWjys5g7Wo9n0u2dUo8PsTIHYEq3uPOQaY/IpVO/zmx9emP7CKHIxLAuST0zPmbDK9JDWEfez24hSg6VzcTm74F+cyMi4KL0+xfsbLl28dJtpIQ5Gr0BzdkX9GPvfw5ZDREixb2uQecCmYzPxOCD95dJJh3PYB0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=KAFw+ndNO0iZK6DMBNnJI748YLC/gtpa4aJpEmQu8w+XskxXE5JUPGFZB6EnLjAxtd1xhzsvzmfteAixwik1g6ysYx4e/qFTGXGiNVg1Kb7RSURLqdcfcdvXmZBu2tzyO/nq3g+Ka0aIRafjCLjoIXk3vQXgZuAHUGQXRLmZgxo= Received: by 10.141.20.7 with SMTP id x7mr190357rvi.1193914523180; Thu, 01 Nov 2007 03:55:23 -0700 (PDT) Received: by 10.140.208.17 with HTTP; Thu, 1 Nov 2007 03:55:23 -0700 (PDT) Message-ID: <9773d7dd0711010355j5cd69791p5711092d1d25c77f@mail.gmail.com> Date: Thu, 1 Nov 2007 07:55:23 -0300 From: "Alexandre Martins" To: users@jackrabbit.apache.org Subject: Re: Is there a way to initiate building of search index? In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_771_12973929.1193914523165" References: <47279352.8050201@trivantisdev.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_771_12973929.1193914523165 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Maybe you need to check you repository.xml, whats the indexers that you put in your SearchIndex tag? br 2007/10/31, Christoph Kiehl : > > Jim Jones wrote: > > > New nodes added under the root node aren't search-able unless the index > > is rebuilt by stoppin the repository, deleting the index folders and > > then restarting the repository. > > Are you maybe calling Node/Session.save() before exiting you program? New > nodes > are automatically added to the search index if you call Node.save() or > Session.save(). Only calling Node.addNode() doesn't add a node to the > search > index (see 6.6.7 Search Scope in the JCR spec). I have no other idea why > your > nodes are not indexed. Could you please post you code if calling save() > first > doesn't resolve your issues? > > Cheers, > Chris > > -- Alexandre Costa Martins CESAR - Recife Center for Advanced Studies and Systems Software Engineer and Software Reuse Researcher MSc Candidate at Federal University of Pernambuco RiSE Member - http://www.rise.com.br Sun Certified Programmer for Java 5.0 (SCPJ5.0) E-mail: alexandre.martins@cesar.org.br MSN: xandecmartins@hotmail.com GTalk: alexandremartins@gmail.com Skype: xandecmartins Mobile: +55 (81) 9929-9548 Office: +55 (81) 3425-4763 Fax: +55 (81) 3425-4701 ------=_Part_771_12973929.1193914523165--