Hi, Are you getting the string but further tokens are not generated? If this is the case I think no need to end or close the stream in filter. Hope this helps.
Best, Modassar On Thu, Nov 16, 2017 at 1:20 AM, kumar gaurav <kg2...@gmail.com> wrote: > Hi > > I need to get full field value from TokenStream in my custom filter class . > > I am using this > > stream.reset(); > while (tStream.incrementToken()) { > term += " "+charTermAttr.toString(); > } > stream.end(); > stream.close(); > > this is ending streaming . no token is producing if i am using this . > > I want to get full string without hampering token creation . > > Eric ! Are you there ? :) Anyone Please help ? >