cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niels van Kampenhout" <ni...@hippo.nl>
Subject RE: [LuceneIndexTransformer] storing index files outside Cocoon work directory
Date Thu, 25 Mar 2004 13:47:46 GMT
> From: Jeremy Quinn
> Sent: donderdag 25 maart 2004 10:42
> 
> On 24 Mar 2004, at 10:58, Niels van Kampenhout wrote:
> 
> > Hi,
> >
> > Is there any way to let the LuceneIndexTransformer store the index 
> > files in a directory outside the Cocoon work directory? In 
> the source 
> > code there is a check for an absolute path in openWriter(), however 
> > specifying an absolute (windows) path crashes Cocoon with an 
> > EmptyStackException.
> >
> > Our problem with storing the index files in the Cocoon work 
> directory 
> > is that they get deleted on restarts, which are sometimes 
> unavoidable.
> 
> Crashes !?!
> 
> I added that recently to solve the very problem you describe.
> 
> I have this working fine on Linux and MacOSX, but was unable 
> to test it 
> on Windows.
> 
> regards Jeremy
> 

Using the latest cocoon-lucene jar solved our problem. I should have
checked that before posting on the list.

Niels

Mime
View raw message