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

Michael McCandless commented on LUCENE-8471:
--------------------------------------------

+1, but could we name it {{getFlushingBytes}} instead?  {{flushBytes}} sounds 
like it's going to write bytes to disk or something.

> Expose the number of bytes currently being flushed in IndexWriter
> -----------------------------------------------------------------
>
>                 Key: LUCENE-8471
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8471
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Alan Woodward
>            Priority: Major
>         Attachments: LUCENE-8471.patch
>
>
> This is already available via the DocumentWriter and flush control.  Making 
> it public on IndexWriter would allow for better memory accounting when using 
> IndexWriter#flushNextBuffer.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to