Forum: Ferret roll my own TokenFilter subclass

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
E4b10fe9206ccad41ab87bcb4c7c14cf?d=identicon&s=25 Richard Jones (Guest)
on 2007-05-18 23:13
(Received via mailing list)
Hi all,

I'd like to write my own TokenStream Filter (in lucene this would be a
subclass of a TokenFilter, which ferret seems to lack) but I'm not
sure how to go about it.  Specifically, it's not clear how I'd create
a non-trivial TokenStream to pass out to any filters that wrapped

Can anyone point me towards a code example?  Thanks.
16b26104470ae1b64958f3caa836c193?d=identicon&s=25 Danny Burkes (dburkes)
on 2007-05-19 00:41
> Can anyone point me towards a code example?  Thanks.

It's not exactly what you want, but you might glean some help from our
Multilingual Ferret Tools at

Best Regards,

This topic is locked and can not be replied to.