Of course I'd be pleased to make a draft of the javadoc and a patch file.
I'll try to do it, but I can't promise to deliver it soon....

Julien
----- Original Message ----- 
From: "Doug Cutting" <[EMAIL PROTECTED]>
To: "Lucene Developers List" <[EMAIL PROTECTED]>
Sent: Monday, July 12, 2004 7:34 PM
Subject: Re: release & migration plan


> fp235-5 wrote:
> > I'd like to be able to modify the indexInterval (tii file) from the
IndexWriter.
> > I tried it recently and it proved to increase performances, especially
for large
> > queries. Do you think there would be a reason not to give access to that
parameter?
>
> I agree.  We should add this, but with caution.  I haven't added this in
> the past because I feared that, like mergeFactor, it is rife for abuse,
> that folks will set it to very large or small values and then loudly
> proclaim that Lucene is broken.
>
> If we make it easily changeable then we should clearly document (a) that
> one should change it with caution; (b) what reasonable values are; and
> (c) what the effects are of setting it high (low memory use, somewhat
> slower search, faster IndexReader creation) and low (high memory use,
> somewhat faster search, slower IndexReader creation).  A formula for
> memory use and IndexReader creation speed should be included
> (proportional to total number of terms) and a description of impact on
> search performance (constant factor per query term, regardless of index
> size: greater impact for small indexes, less for large indexes).
>
> In particular, we want to discourage folks with very large indexes or
> who re-open indexes frequently from setting this to small values.
>
> Would you like to draft the javadoc and make a patch file for this
> change?  This would not be an incompatible change and could be done at
> any time.
>
> Doug
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to