Return-Path: Delivered-To: apmail-lenya-user-archive@www.apache.org Received: (qmail 85705 invoked from network); 5 Dec 2005 08:27:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Dec 2005 08:27:08 -0000 Received: (qmail 43352 invoked by uid 500); 5 Dec 2005 08:27:06 -0000 Delivered-To: apmail-lenya-user-archive@lenya.apache.org Received: (qmail 43323 invoked by uid 500); 5 Dec 2005 08:27:06 -0000 Mailing-List: contact user-help@lenya.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@lenya.apache.org Delivered-To: mailing list user@lenya.apache.org Received: (qmail 43312 invoked by uid 99); 5 Dec 2005 08:27:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Dec 2005 00:27:06 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of felix.roethenbacher@wyona.com designates 195.226.6.68 as permitted sender) Received: from [195.226.6.68] (HELO mx1.wyona.com) (195.226.6.68) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Dec 2005 00:27:05 -0800 Received: from gate.wyona.com ([195.226.6.75] helo=[192.168.1.61]) by mx1.wyona.com with esmtp (Exim 3.35 #1 (Debian)) id 1EjBgI-0001rc-00 for ; Mon, 05 Dec 2005 09:26:42 +0100 Message-ID: <4393F9C1.4080206@wyona.com> Date: Mon, 05 Dec 2005 09:26:41 +0100 From: =?UTF-8?B?RmVsaXggUsO2dGhlbmJhY2hlcg==?= User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: user@lenya.apache.org Subject: Re: 1.4 lucene question References: <439057F9.4050507@uni-duisburg.de> <43905B6D.6020503@wyona.com> <439074D3.2080909@uni-duisburg.de> In-Reply-To: <439074D3.2080909@uni-duisburg.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Jörn Jörn Nettingsmeier wrote: > hi felix! > > thanks for your quick reply! > > Felix Röthenbacher wrote: > >> Hi Jörg >> >> You have to configure the index in your publication. Please have >> a look in the config directory of the default publication. >> Additionally, you need a xxx2index.xsl for all your resourcetypes >> xxx (see xhtml module). > > > > hmm. i have a config directory beneath my publication, so that should be > used, right? or does this have to be in the default one? No, it's your publication config directory. > > index_manager_index.xconf looks ok to me. This file contains the per publication configuration of the indexes. You have to copy this file to your own publication (if not done already) and modify it to suit your setup. You need to change the index id both in the xconf xpath expression and in the . E.g. replace 'id="default-live"' with your publication name plus area: 'id="yourpub-live"' (same for 'id="default-authoring"'). Additionally, you need to replace the directory path of the index storage location. Here again, replace the '../default/..' path name with you publication name. > > i don't have any custom resource types (yet). Then you don't have to care about them :-) Best, Felix > > index_manager.xconf says: > > remove="/cocoon/index_manager" > unless="/cocoon/index_manager[@logger = 'core.search.index_manager']"> > > > > role="org.apache.cocoon.components.search.components.Indexer/default" /> > > > > > > > > > > what directory attribute? is this the setting i'm missing? if so, can > you explain? > > sorry, new lenya user :) > > > > best, > > jörn > > > >> hth >> >> - Felix >> >> >> Jörn Nettingsmeier wrote: >> >>> hi! >>> >>> >>> whenever i leave kupu or bxe, lenya 1.4 complains: >>> >>> An error occured. >>> >>> message: index PolWiss-authoring doesn't exist >>> >>> org.apache.cocoon.ProcessingException: Error calling flowscript >>> function executeUsecase at >>> file:/home/POLNET/nettings/src/lenya-1.4.x/build/lenya/webapp/lenya/usecases/usecases.js:282:-1 >>> at - >>> file:/home/POLNET/nettings/src/lenya-1.4.x/build/lenya/webapp/lenya/usecases/usecase.xmap:93:46 >>> at - >>> file:/home/POLNET/nettings/src/lenya-1.4.x/build/lenya/webapp/lenya/usecase.xmap:56:128 >>> at - >>> file:/home/POLNET/nettings/src/lenya-1.4.x/build/lenya/webapp/global-sitemap.xmap:303:105 >>> at - >>> file:/home/POLNET/nettings/src/lenya-1.4.x/build/lenya/webapp/sitemap.xmap:531:110 >>> >>> >>> cause: org.apache.cocoon.components.search.IndexException: message: >>> index PolWiss-authoring doesn't exist >>> >>> the url says >>> "http://localhost:8888/PolWiss/authoring//index.html?lenya.usecase=lucene.index&indexAction=index&indexArea=authoring", >>> so it looks like it's trying to update the search index after the >>> edit, which is nice :) >>> i have never used lucene, but my guess is i need to prepare an index >>> manually before this is going to work. how do i initialize lucene in >>> lenya 1.4? >>> >>> >>> sorry if this is a stupid faq, but i have so many wiki pages and code >>> snippets in my head right now that i may be overlooking the obvious... >>> >>> >>> regards, >>> >>> jörn >>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org >>> For additional commands, e-mail: user-help@lenya.apache.org >>> >>> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org > For additional commands, e-mail: user-help@lenya.apache.org > > -- Felix Röthenbacher felix.roethenbacher@wyona.com Wyona Inc. - Open Source Content Management - Apache Lenya http://www.wyona.com http://lenya.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org For additional commands, e-mail: user-help@lenya.apache.org