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.