[ 
https://issues.apache.org/jira/browse/LUCENE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12530858
 ] 

Michael McCandless commented on LUCENE-1007:
--------------------------------------------

Thanks Ning!  I will have a look at the patch.

> One question: Should we count buffered delete terms towards ram
> buffer used? Feel like we should. On the other hand, numBytesUsed
> only counts ram space which can be recycled.

I think we should still count this ram usage with numBytesUsed?  Even
though it's not directly recycled, this memory usage does still "last"
for a very long time (ie longer than a single document's processing,
until flush happens), so I think it should be counted.


> Flexibility to turn on/off any flush triggers
> ---------------------------------------------
>
>                 Key: LUCENE-1007
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1007
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>            Reporter: Ning Li
>            Priority: Minor
>         Attachments: LUCENE-1007.patch
>
>
> See discussion at http://www.gossamer-threads.com/lists/lucene/java-dev/53186
> Provide the flexibility to turn on/off any flush triggers - ramBufferSize, 
> maxBufferedDocs and maxBufferedDeleteTerms. One of ramBufferSize and 
> maxBufferedDocs must be enabled.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to