RE: How to implement a GivenCharFilter using incrementToken

2009-11-25 Thread KingShooter
s: When incrementToken get a token "abc#def#hi", How to preserve current attribute "def#hi" and then return attrTerm "abc", and next I call incrementToken I can get "def#hi". ? ("#" stand for token separator, and I want to get 3 toke

RE: How to implement a GivenCharFilter using incrementToken

2009-11-25 Thread Uwe Schindler
; /** Returns the next token in the stream, or null at EOS. */ > public final boolean incrementToken() throws IOException { > //How To? > } > > } > > > Regards, > Xiaotao Deng > -- > View this message in context: http:

How to implement a GivenCharFilter using incrementToken

2009-11-24 Thread KingShooter
ibute(PositionIncrementAttribute.class); } /** Returns the next token in the stream, or null at EOS. */ public final boolean incrementToken() throws IOException { //How To? } } Regards, Xiaotao Deng -- View this message in context: ht