Yes, exactly. The problem is that in flex we made it more intuitive and iterator-like, it always works identical - call next() or seek() first, before that it is undefined. So you always have to think about - is it flex or is it trunk.
We should get flex in as fast as possible :-) but we still have some problems. ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -----Original Message----- > From: ysee...@gmail.com [mailto:ysee...@gmail.com] On Behalf Of Yonik > Seeley > Sent: Tuesday, December 08, 2009 4:31 PM > To: java-dev@lucene.apache.org > Subject: Re: svn commit: r888398 - in /lucene/java/trunk: CHANGES.txt > contrib/regex/src/test/org/apache/lucene/search/regex/TestRegexQuery.java > src/java/org/apache/lucene/index/DirectoryReader.java > src/java/org/apache/lucene/index/MultiReader.java > > On Tue, Dec 8, 2009 at 10:25 AM, Michael McCandless > <luc...@mikemccandless.com> wrote: > > Sorry, right, test passed on trunk, but it's still not valid even on > > trunk (I think?). Ie TermEnum.term() is undefined until you've called > > next? > > You're thinking TermDocs I think - TermEnum.term() is defined to be > positioned on or after the term given during it's creation. > > -Yonik > http://www.lucidimagination.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-dev-h...@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org