You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2009/04/07 23:48:13 UTC

[jira] Updated: (LUCENE-1546) Add IndexReader.flush(commitUserData)

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

Uwe Schindler updated LUCENE-1546:
----------------------------------

    Attachment: LUCENE-1546-deprecation.patch

This patch fixes deprecation errors:
I wrote a class extends FilterIndexReader. This class produced on compilation an deprecation warning on doCommit() without any hint to this method in my code (I did not implement doCommit nor used the method).
It seems, that javac from 1.5 needs the deprecation also in the subclasses. With this patch applied, the own subclass did not produce the warning anymore.

> Add IndexReader.flush(commitUserData)
> -------------------------------------
>
>                 Key: LUCENE-1546
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1546
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>    Affects Versions: 2.4
>            Reporter: Jason Rutherglen
>            Assignee: Michael McCandless
>            Priority: Trivial
>             Fix For: 2.9
>
>         Attachments: LUCENE-1546-deprecation.patch, LUCENE-1546.patch, LUCENE-1546.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> IndexWriter offers a commit(String commitUserData) method.
> IndexReader can commit as well using the flush/close methods and so
> needs an analogous method that accepts commitUserData.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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