Re: Copying Payload from one Token to the next

2010-10-17 Thread Christoph Hermann
Am Sonntag, 17. Oktober 2010, 19:35:33 schrieb Ahmet Arslan: Hello, > > how can i copy the Payload from the current token to the > > following token in a > > TokenFilter? > org.apache.solr.analysis.BufferedTokenStream.java (that can peek n tokens > ahead in the buffered input stream, without mod

Re: Copying Payload from one Token to the next

2010-10-17 Thread Ahmet Arslan
org.apache.solr.analysis.BufferedTokenStream.java (that can peek n tokens ahead in the buffered input stream, without modifying the stream) and CommonGramsFilter.java may help. --- On Sat, 10/16/10, Christoph Hermann wrote: > From: Christoph Hermann > Subject: Copying Payload from one

Copying Payload from one Token to the next

2010-10-16 Thread Christoph Hermann
Hello, how can i copy the Payload from the current token to the following token in a TokenFilter? I have implemented a TokenFilter and thought, that i could use input.incrementToken() to advance the stream to the next token and just copy the Payload to this next token. But the problem with thi