You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2018/08/29 13:57:00 UTC

[jira] [Commented] (LUCENE-8471) Expose the number of bytes currently being flushed in IndexWriter

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

Alan Woodward commented on LUCENE-8471:
---------------------------------------

Patch.  I changed tests that were reaching through DocumentWriter and FlushControl to get this value to use the IndexWriter method instead.

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org