[
https://issues.apache.org/jira/browse/LUCENE-5621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir updated LUCENE-5621:
--------------------------------
Attachment: LUCENE-5621.patch
patch. The MDW disk full test was using this to force that disk full tripped at
a specific time, but i just changed the test to use close() instead.
DirectPostingsFormat was calling RAMDir's flush() directly before writeTo(),
but writeTo() already calls it internally.
> remove IndexOutput.flush()
> --------------------------
>
> Key: LUCENE-5621
> URL: https://issues.apache.org/jira/browse/LUCENE-5621
> Project: Lucene - Core
> Issue Type: Improvement
> Components: core/store
> Reporter: Robert Muir
> Attachments: LUCENE-5621.patch
>
>
> This method is extraneous: it just makes the API confusing. Its not actually
> used anywhere by Lucene, so it shouldn't be mandatory on IndexOutput.
> Maybe it had some use-case before things were append-only, i dont know, but
> now its time for it to go.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]