lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-1546) Add IndexReader.flush(commitUserData)
Date Tue, 07 Apr 2009 21:48:13 GMT

     [ 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


Mime
View raw message