RE: How to implement a GivenCharFilter using incrementToken

2009-11-25 Thread KingShooter
The example you have given is invalid, as offsets should always refer to the original position in the source stream, so should be: a(0,1,1) b(2,3,1) a(6,7,1) c(11,12,1). Deng: I'm afraid that if (case1) index "axxxb", and then I search "axb" or (case2) index "axb" and then search "ab", which

RE: How to implement a GivenCharFilter using incrementToken

2009-11-25 Thread Uwe Schindler
I do not understand your request completely, maybe you tell us some more requirements of your implementation. The example you have given is invalid, as offsets should always refer to the original position in the source stream, so should be: a(0,1,1) b(2,3,1) a(6,7,1) c(11,12,1). The second probl