[
https://issues.apache.org/jira/browse/LUCENE-7782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15968953#comment-15968953
]
ASF subversion and git services commented on LUCENE-7782:
---------------------------------------------------------
Commit cc31db3dfbb3bdf8e6a3b9328c523d9f992daa7c in lucene-solr's branch
refs/heads/branch_6x from Mike McCandless
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=cc31db3 ]
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]