On 9/24/07, Michael McCandless <[EMAIL PROTECTED]> wrote:
> On flushing pending deletes by RAM usage: should we just bundle this
> up under "flush by RAM usage"? Ie "when total RAM usage, either from
> buffered deletes, buffered docs, anything else, exceeds X then it's
> time to flush"? (Instead
"Doron Cohen" <[EMAIL PROTECTED]> wrote:
> Hi Mike,
>
> "Michael McCandless" <[EMAIL PROTECTED]> wrote on 24/09/2007
> 20:19:31:
>
> > But, we have to be careful for the ParallelReader use case: for this
> > case you only want to trigger flushing by doc count (ie, never by
> > RAM), right?
>
>
Hi Mike,
"Michael McCandless" <[EMAIL PROTECTED]> wrote on 24/09/2007
20:19:31:
> But, we have to be careful for the ParallelReader use case: for this
> case you only want to trigger flushing by doc count (ie, never by
> RAM), right?
I think you mean the case that applications using the Parallel
Hi Mike,
I think we can simulate the support of just "A" or just "B" if we
support "A or B, whichever comes first": for someone just wants
ramBufferSize limit, he can set maxBufferedDocs/maxBufferedDeleteTerms
to max int; for ParallelReader, ramBufferSize can be set to max int
MB.
Ning
On 9/24/
"Doron Cohen" <[EMAIL PROTECTED]> wrote:
> Hi Ning,
>
> "Ning Li" <[EMAIL PROTECTED]> wrote on 24/09/2007 00:26:36:
>
> > Do you mean to make maxBufferedDocs/maxBufferedDeleteTerms and
> > ramBufferSize take effect at the same time? That is, a flush is
> > triggered whenever one of the limits is
Oops, forget it. It *does* seem I didn't have understood exactly what the
while (true) loop did. Therefore I wasn't adding the very first submatch.
Makes more sense now !
melix wrote:
>
> I think I'll focus on that later, since it requires me to copy a whole
> bunch of sources from the core. Bu
I think I'll focus on that later, since it requires me to copy a whole bunch
of sources from the core. But I have another tough question : I am working
with the NearSpansOrdered class in order to add my match support. But I have
a serious problem I don't understand, maybe you could help me.
Say I
Hi Ning,
"Ning Li" <[EMAIL PROTECTED]> wrote on 24/09/2007 00:26:36:
> Do you mean to make maxBufferedDocs/maxBufferedDeleteTerms and
> ramBufferSize take effect at the same time? That is, a flush is
> triggered whenever one of the limits is reached? I think it's
> reasonable. If we make that cha