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
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
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