[
https://issues.apache.org/jira/browse/LUCENE-7782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15968952#comment-15968952
]
ASF subversion and git services commented on LUCENE-7782:
---------------------------------------------------------
Commit 00f0c3022baa0b7f0ffc293aff4daa450ce6432f in lucene-solr's branch
refs/heads/master from Mike McCandless
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=00f0c30 ]
LUCENE-7782: OfflineSorter now passes the number of items it will write to
getWriter
> OfflineSorter.getWriter should pass number of items it will write
> -----------------------------------------------------------------
>
> Key: LUCENE-7782
> URL: https://issues.apache.org/jira/browse/LUCENE-7782
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Fix For: master (7.0), 6.6
>
> Attachments: LUCENE-7782.patch
>
>
> When {{OfflineSorter}} needs to write a new file, either a temp file or the
> final sorted output file, it calls {{getWriter}}. There is a default impl,
> but experts can override it to create their own writers.
> It would be helpful to pass the total item count that will be written to this
> file when calling {{getWriter}} because then the (expert) user has a little
> more information which can be useful when creating the temp or final file.
> It's low cost for {{OfflineSorter}} to track this.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]