I am using 4.5.1
On Mon, Feb 3, 2014 at 12:38 PM, Andi Vajda <va...@apache.org> wrote: > > > On Feb 2, 2014, at 22:51, Premraj Narkhede <premraj.narkh...@dolcera.com> > wrote: > > > > Hi > > > > I am trying to get to terms in Index using following code. > > > > But I keep getting error saying termsEnum doesnt have "next" function > > > > Please help > > What version of PyLucene are you using ? > > Andi.. > > > > > ireader= DirectoryReader.open(dir1) > > terms = SlowCompositeReaderWrapper.wrap(ireader).terms("Doc"); > > termsEnum = terms.iterator(None) > > while termsEnum.next(): > > fg=termsEnum.term() > > print fg > > > > Premraj >