Thank you for your response. That was my original goal. On 9/21/05, Chris Hostetter <[EMAIL PROTECTED]> wrote: > > > : Since I used the StandAnalyzer when I originally created the index, > : I therefore use the StandardTokenizer to tokenize the input stream. > : Is there a better way to do what I try to do ? > : From your comment below, it appears that I should just use next() > instead > > if your goal is to recreate the tokens you get from using > StandardAnalyzer, then don't use StandardTokenizer -- use > StandardAnalyzer. It does other things besides tokenizing. get the > TokenStream from StandardAnalyzer and it's next() method should do what > you want. > > > > None of which should imply that this is the best way to achieve your goal > -- i'm sure the highlighter package will do what you want, but i've never > used it personally. > > > -Hoss > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >