You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shai Erera (JIRA)" <ji...@apache.org> on 2014/05/20 11:16:39 UTC

[jira] [Updated] (LUCENE-5679) Consolidate IndexWriter.deleteDocuments()

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

Shai Erera updated LUCENE-5679:
-------------------------------

    Attachment: LUCENE-5679.patch

Patch removes the single-arg delDocs Term/Query variants. Everything compiles and tests pass. I'll sun jdocs tests too, though eclipse showed no additional errors about referencing those methods.

Do you think it's OK to backport to 4x? The only concern I have is if apps will upgrade to e.g. 4.9 by only dropping the 4.9 jar, not compiling their code as well. I don't know if people still do that though ... :). Anyway, if we want to keep that, we can deprecate them in 4x.

> Consolidate IndexWriter.deleteDocuments()
> -----------------------------------------
>
>                 Key: LUCENE-5679
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5679
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/index
>            Reporter: Shai Erera
>         Attachments: LUCENE-5679.patch
>
>
> Spinoff from here: http://markmail.org/message/7kjlaizqdh7kst4d. We should consolidate the various IW.deleteDocuments().



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org