Re: Preserving TokenFilters

2012-03-12 Thread Brandon Mintern
Everything that we've read seems to indicate that heavy Lucene users inevitably write their own Filter streams. We just did this ourselves a month or two ago, and it really wasn't too bad. Just make sure that you reference the latest Lucene release when you're writing your own filter. There's a spl

Preserving TokenFilters

2012-03-12 Thread Alan Woodward
Hello, I have a number of operations that I want to apply to a TokenStream, supplementing the original tokens with modified forms. For example, I want to reverse tokens, to allow prefix wildcard queries, and I want to index both lowercased and original terms. I initially tried to wrap Reverse