lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: possible TermInfosReader speedup
Date Thu, 09 Apr 2009 08:45:03 GMT
OK I opened https://issues.apache.org/jira/browse/LUCENE-1592.

Mike

On Thu, Apr 9, 2009 at 4:36 AM, Michael McCandless
<lucene@mikemccandless.com> wrote:
> On Thu, Apr 9, 2009 at 4:24 AM, Uwe Schindler <uwe@thetaphi.de> wrote:
>
>> I think, we should do what was suggested in this thread: Remove it or
>> deprecate it, if it is nowhere used internally to prevent people (like me in
>> the past) to try to use it.
>>
>> Maybe put an additional warning in the JavaDocs in addition to deprecation:
>> "This method is not effective. It is recommeneded to create a new TermEnum
>> with IndexReader.terms(Term) instead of skipping."
>
> I agree, let's deprecate it and add that warning, at least, for 2.9.
> Or if someone can work out the patch to make it behave like
> IndexReader.terms(Term), that's even better!  I'll open an issue &
> mark 2.9.
>
> Mike
>

---------------------------------------------------------------------
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