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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]