lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: using CharFilter to inject a space
Date Sun, 04 Nov 2012 00:44:03 GMT
On Sat, Nov 3, 2012 at 8:32 PM, Igal @ getRailo.org <igal@getrailo.org> wrote:
> hi Robert,
>
> thank you for your replies.
>
> I couldn't find much documentation/examples of this, but this is what I came
> up with (below).  is that the way I'm supposed to use the MappingCharFilter?
>

You don't need to extend anything.
You also don't want to create a normalizecharmap for each reader
(thats way too heavy)

Just build the NormalizeCharMap once, and pass it to
MappingCharFilter's Constructor.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message