Hi,
We decided to leave this method in IR also in 4.0, as this is one of the
most often used methods (almost every example code contains it) and users
may get confused when it is not there.
There are more examples of deprecated methods in 4.0, it's done on a
case-by-case basis. Especially, when there is no migration path
(DirectoryReader is not "visible" in 3.x, so we cannot deprecate
IndexReader.open() in 3.x).
Uwe
-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de <http://www.thetaphi.de/>
eMail: uwe@thetaphi.de
From: Shai Erera [mailto:serera@gmail.com]
Sent: Wednesday, February 15, 2012 8:00 AM
To: dev@lucene.apache.org
Subject: Deprecated methods on trunk
Hi
Why do we have deprecated methods on trunk (e.g. IndexReader.open())?
Shouldn't they be deleted?
Shai
|