From users-return-19358-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Tue Jan 22 12:42:58 2013 Return-Path: X-Original-To: apmail-jackrabbit-users-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 920AEEAEA for ; Tue, 22 Jan 2013 12:42:58 +0000 (UTC) Received: (qmail 92672 invoked by uid 500); 22 Jan 2013 12:42:58 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 92451 invoked by uid 500); 22 Jan 2013 12:42:52 -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 92389 invoked by uid 99); 22 Jan 2013 12:42:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jan 2013 12:42:50 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.160.54] (HELO mail-pb0-f54.google.com) (209.85.160.54) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jan 2013 12:42:43 +0000 Received: by mail-pb0-f54.google.com with SMTP id rr4so2121095pbb.27 for ; Tue, 22 Jan 2013 04:42:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:x-gm-message-state; bh=40XZF+ITXTKnIu5bgX12Ij7AI6DVY4wV809v6wWNy9o=; b=eOReotVvvyn4l4FFTMoDP0ZeL+kGmid+xrFqvgLD599oWTInJ/17dYiurUqlqTmjdE 77oSrdvznMCj8hjE/eqDBhIx37SZRS7pgMqRG1ZGzVU1Yb9rgP4GeurN6sA+VSTe/ToB RegbbwhA4htpNwxbfPFiSScLme1o9Seb12OWkSERNAI8pM2i57k42jHQwLiWuAb6RwKs PfS05xsgptRiCW3HHg1t+7imd86aZ1zKlrda2JzjGuVRyzKhtSWL+iU2PzVf/21Cmei2 7DUOG1gEM+nkhtkpTKT+dNB3Y2jlwZrG9r/SKrb7OmtQKSbtPEz4bSUHzEt+SjTNnzrn 07lw== MIME-Version: 1.0 X-Received: by 10.66.72.198 with SMTP id f6mr55695824pav.42.1358858539981; Tue, 22 Jan 2013 04:42:19 -0800 (PST) Received: by 10.66.85.234 with HTTP; Tue, 22 Jan 2013 04:42:19 -0800 (PST) In-Reply-To: <9C0FC4C8E9C29945B01766FC7F9D3898173DA49D12@eurmbx01.eur.adobe.com> References: <9C0FC4C8E9C29945B01766FC7F9D3898173DA49D12@eurmbx01.eur.adobe.com> Date: Tue, 22 Jan 2013 12:42:19 +0000 Message-ID: Subject: Re: IndexingConfiguration not being applied From: Nabil Shuhaiber To: "users@jackrabbit.apache.org" Content-Type: multipart/alternative; boundary=f46d042dfd35935a3404d3dfe88e X-Gm-Message-State: ALoCoQnP903/6fqY2PlQFIuKZzuw1wYE0vDOC2ahlWUWomZcCxxgEor8Iur5LbJ18zRsb4968Xp6 X-Virus-Checked: Checked by ClamAV on apache.org --f46d042dfd35935a3404d3dfe88e Content-Type: text/plain; charset=ISO-8859-1 Yes I deleted all the index folders and restarted jackrabbit server. I checked the logs to make sure everything was getting reindexed. On Tuesday, January 22, 2013, Marcel Reutegger wrote: > Hi Nabil, > > did you perform a re-index after you changed the configuration? > > adding or changing an indexing configuration will not automatically > update the index. > > regards > marcel > > > -----Original Message----- > > From: Nabil Shuhaiber [mailto:nabil@shuhaiber.com] > > Sent: Samstag, 19. Januar 2013 12:36 > > To: users@jackrabbit.apache.org > > Subject: IndexingConfiguration not being applied > > > > I have spent the last few days trying to work this one out with no luck > so > > far. I can't find any bug reports so I must be doing something very > obvious > > wrong. I am using latest stable Jackrabbit 2.4.3 and have made the tika > fix > > to get full text search working. > > > > Put simply I am able to run the query "SELECT * FROM [nt:resource] AS doc > > WHERE CONTAINS(doc.*, 'DILIGENCE')" and get 2 results back. I want to > > apply > > the indexing configuration below and be able to run the query "SELECT * > > FROM [nt:file] AS doc WHERE CONTAINS(doc.*, 'DILIGENCE')" to get the > > same > > results. > > > > I have done the following as per the wiki to enable the index > configuration: > > > > 1) Added " > value="${wsp.home}/indexing-configuration.xml"/>" to the repository.xml > > SearchIndex element of the workspace. > > > > 2) Added "" to the repository.xml > > SearchIndex element of the repository. > > > > 3) Added "" to the workspace.xml > > SearchIndex > > element of both the workspaces (default and security). > > > > 4) Placed the indexing-configuration.xml in all the correct > locations. > > > > > > See below for my full indexing-configuration.xml, repository.xml and > > workspace.xml. > > > > Would really appreciate some help. This is driving me crazy :) Thanks > > > > Nabil > > > > > ---------------------------------------------------------------------------------------------- > > ---------------------------- > > > > > http://jackrabbit.apache.org/dtd/indexing-configuration-1.2.dtd"> > > > xmlns:nt="http://www.jcp.org/jcr/nt/1.0"> > > > > > > jcr:content > > jcr:content/* > > jcr:content/jcr:lastModified > > > > > > > > > > > > > > > > > class="org.apache.jackrabbit.core.fs.local.LocalFileSystem"> > > > > > > > > > class="org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManag > > er"> > > > value="jdbc:derby:${wsp.home}/ -- Best Regards, Nabil Shuhaiber --f46d042dfd35935a3404d3dfe88e--