Re: [Lius-devp] LuceneActions.index
Brought to you by:
benjellr
From: Jens F. <jf...@te...> - 2005-06-17 10:17:59
|
On Friday 17 June 2005 11:38, JM Tinghir wrote: > Oops, sorry, I totally forgot! And I've just sent another one... I'll > resend it too. thanks. helps a lot :-) > In the LuceneActions.index method, there is : > fileDirectoryIndexing(toIndex, lc, writer); > setIndexWriterProps(writer, lc); > > Shouldn't it rather be : > setIndexWriterProps(writer, lc); > fileDirectoryIndexing(toIndex, lc, writer); > > Initializing the writer before indexing? you're right. this should definitely be other way around (unless Rida had s= ome=20 genius hack in mind I don't see right now.. :-) =2D-=20 =2EO. Jens Fendler =2E.O jf...@te... OOO http://www.teamskill.de |