Here it is as an attachment. thanks CB ----- Original Message ----- From: "Vadim Gritsenko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "'Colin Britton'" <[EMAIL PROTECTED]> Sent: Monday, January 21, 2002 8:59 PM Subject: RE: Patches for search indexing
> 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:[EMAIL PROTECTED]] > > Sent: Saturday, January 19, 2002 8:05 PM > > To: [EMAIL PROTECTED] > > 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 > > <snip/> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > >
lucene_c2.diff
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]