lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-5679) Consolidate IndexWriter.deleteDocuments()
Date Tue, 20 May 2014 09:16:39 GMT

     [ 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


Mime
View raw message