> Or, you could just do things twice. That is, send your text through > a TokenStream, then call next() and count. Then send it all > through doc.add().
Hm. This means read the content twice, doesn't matter using an own analyzer oder overriding/wrapping the main analyzer. Is there anywhere a hook where I can grap the last token when I call Document#add? Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]