Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 96530 invoked by uid 500); 22 Jan 2002 02:00:53 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 96468 invoked from network); 22 Jan 2002 02:00:53 -0000 From: "Vadim Gritsenko" To: Cc: "'Colin Britton'" Subject: RE: Patches for search indexing Date: Mon, 21 Jan 2002 20:59:48 -0500 Message-ID: <002801c1a2e8$82176c10$90a4558b@vgritsenkopc> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal In-Reply-To: <003101c1a14e$7b938130$0b01000a@VAIO> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N It seems that patch is broken by mailer... Could you please re-send the patch as attachment? Thanks, Vadim > -----Original Message----- > From: Colin Britton [mailto:cbritton@metatomix.com] > Sent: Saturday, January 19, 2002 8:05 PM > To: cocoon-dev@xml.apache.org > Subject: Patches for search indexing > > Attached are three changes for the indexing capability provided by Cocoon > and Lucene. Details below: > > 1) current code makes any URL's with paramaters incorrect as it always adds > "?cocoon-view=" the the url, which invalidates any existing parameters. > Patch provided detects for a ? in the url and only adds it if one does not > exist. This applies to SimpleCocoonCrawlerImpl.java and in a similar way to > SimpleLuceneXMLIndexerImpl.java > > 2) Change a system.out to a logger entry in SimpleCocoonCrawlerImpl.java > > 3) added a logger entry when lucene optimizes to > SimpleLuceneCocoonIndexerImpl.java > > rgds > CB > > > > Index: crawler/SimpleCocoonCrawlerImpl.java > =================================================================== > RCS file: > /home/cvspublic/xml-cocoon2/src/java/org/apache/cocoon/components/crawle r/Si > mpleCocoonCrawlerImpl.java,v --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org