lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Morus Walter <morus.wal...@tanto.de>
Subject Re: Unexpected TermEnum behavior
Date Thu, 09 Dec 2004 07:30:38 GMT
Chris Hostetter writes:
> 
> I thought it was documented in the TermEnum interface, but looking at it
> now I realize that not only does the TermEnum javadoc not explain it
> very well, but the class FilteredTermEnum (which implements TermEnum)
> acctually documents the oposite behavior...
> 
>   public Term term()
> 
>       Returns the current Term in the enumeration. Initially
>       invalid, valid  after next() called for the first time.
> 
That's a documentation bug. Fixed in CVS.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32353

Morus

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


Mime
View raw message