Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 39449 invoked by uid 500); 29 Jan 2003 16:01:01 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 39393 invoked from network); 29 Jan 2003 16:01:01 -0000 Message-ID: <050d01c2c7af$185d7f20$47020a0a@hw0393> From: "Guido Casper" To: Subject: Lucene index for multiple channels Date: Wed, 29 Jan 2003 16:57:16 +0100 MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-MIMETrack: Itemize by SMTP Server on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 29.01.2003 17:00:58, Serialize by Router on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 29.01.2003 17:01:00, Serialize complete at 29.01.2003 17:01:00 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi all, the menu structure of my site looks different (i.e. certain menu items are disabled etc.) for different user-agents. The content of the disabled items shouldn't appear in the search result as well of course. Therefore I need to build different indexes for each user agent "class". I could easily build different indexes for each user agent with different link views, but SimpleCocoonCrawlerImpl lets me specify only one link-view-query. I can extend SimpleCocoonCrawlerImpl to let me specify multiple link views, but what is the best way to let the crawler know which link view to select at index creation time? My first guess was to use the user agent (and configure one link view per user-agent), but I don't nessecarily want to use the corresponding user agent to create the index but create and update all indexes in one run/request. What would be the recommended way to do that? Thanks Guido --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: