From: Joe R. J. <jj...@cl...> - 2004-07-08 07:24:36
|
On Wed, 7 Jul 2004, Gabriele Bartolini wrote: > Date: Wed, 07 Jul 2004 21:44:41 +0200 > From: Gabriele Bartolini <an...@ti...> > To: Robert Ribnitz <ri...@li...>, htd...@li... > Subject: Re: [htdig-dev] Idea: Option to disable 'phrase indexing'.. > > At 21.24 07/07/2004, Robert Ribnitz wrote: > >Hello List, > > Hi Robert, > > >I haven't looked at the code in depth, so I don't know how hard it would > >be to implement a config file option that would switch off that new > >behaviour, making 3.2.0b6 behave exactly like 3.1.6? > > Unfortunately it is not that easy. The database structure is very different > and it is not so easy to adapt it. I believe that it needs less time and > work to work on optimisation than porting forward the 3.1.x code and allow > a run-time different behaviour. > > >Would that be worth a try (it could save me from packaging two different > >versions for Sarge release)? > > Don't take me wrong. Having seen the progress of the code, I think it is > easier and faster to produce two different packages, maybe htdig and htdig31. > > Ciao and thanks a lot for your contribution! > -Gabriele There is a config file attribute, store_phrases, in 3.2.0b6 that if set to no it would save about 27% indexing time; it will not make it quite as fast as 3.1.6, but it takes a great step towards it;) That said, I am not too fond of it because it has slightly slowed down regular indexing;( and I totally concur with Gabriele's reasoning. Regards, Joe -- _/ _/_/_/ _/ ____________ __o _/ _/ _/ _/ ______________ _-\<,_ _/ _/ _/_/_/ _/ _/ ......(_)/ (_) _/_/ oe _/ _/. _/_/ ah jj...@cl... |