2011 at 10:57 AM, Jithin [via Lucene] <
ml-node+s472066n338441...@n3.nabble.com> wrote:
> I meant to say. Now my analser chain looks like this.
>
>
>
>
> pattern="[-_]" replacement=" " />
>
>
I meant to say. Now my analser chain looks like this.
I have added this custom filter at the end of my query. Now only my first
document is getting indexed.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Writing-a-TokenConcatenateFilter-junk-characters-appearing-on-output-tp3383684p3384379.html
Sent from the Lucene - Java Users
> http://www.thetaphi.de
> eMail: [hidden email]<http://user/SendEmail.jtp?type=node&node=3383905&i=0>
>
> > -Original Message-
> > From: Jithin [mailto:[hidden
> > email]<http://user/SendEmail.jtp?type=node&node=3383905&i=1>]
>
>
Hi,
I am trying to write a TokenFilter which just concatenates all the the token
in the input TokenStream.
Issue I am facing is that my filter is outputting certain junk characters in
addition to the concatenated string. I believe this is caused by
StringBuilder.
This is my incrementToken() functi