On Sep 2, 2011, at 8:53 PM, Mattmann, Chris A (388J) wrote:

> 
> I think in spelling this out though, I might have elaborated my problem. 
> Since 
> the method I call in the constructor for my CombiningFilter is 
> super(mergeStreamTokens(in))
> where mergeStreamTokens is a static method, I think I might have consumed the 
> input 
> TokenStream by the time it gets called for the sort. It works on analysis.jsp 
> probably 
> because the stream isn't re-consumed? Not sure, something wiggy is going on.

OK scratch that. B/c I was creating a new KeywordTokenizer and then returning 
that 
as the *new* input TokenStream, it was creating a new stream that could be 
consumed 
via incrementToken, so that wasn't it. Must be something else.

Will keep digging.

Cheers,
Chris

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.a.mattm...@nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Reply via email to