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

Robert Muir updated LUCENE-6082:
--------------------------------
    Attachment: LUCENE-6082.patch

Patch removing these abort methods and deletions from the codec API.

This cleans it up a bit. We should still cleanup other deletions inside 
indexwriter itself on other issues though.

> only IndexFileDeleter should delete files
> -----------------------------------------
>
>                 Key: LUCENE-6082
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6082
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Robert Muir
>         Attachments: LUCENE-6082.patch
>
>
> Currently the codec API has SI writers, stored fields writers, and term 
> vectors writers all deleting files, Stored fields and term vectors codec APIs 
> have abort() methods, etc.
> This is outdated and scary, since TrackingDirectoryWrapper is used to the 
> list of files the codec used, and this is ultimately passed to 
> IndexFileDeleter.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to