lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-7782) OfflineSorter.getWriter should pass number of items it will write
Date Wed, 12 Apr 2017 21:23:41 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-7782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael McCandless updated LUCENE-7782:
---------------------------------------
    Fix Version/s: 6.6
                   master (7.0)

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


Mime
View raw message