each call of next can only return one token ... if you wnat to return more 
then one token based on each token you find in "input" then you need to 
buffer them.

There's an abstract class in Solr that you can look at to see how this can 
be done, and you can subclass it to get all the benefits...

http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/analysis/BufferedTokenStream.java?revision=643465&view=markup


-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to