...@thetaphi.de
> -Original Message-
> From: Jamie [mailto:ja...@stimulussoft.com]
> Sent: Friday, January 29, 2010 2:21 PM
> To: java-user@lucene.apache.org
> Subject: Re: Email Filter using Lucene 3.0
>
> Hi Uwe
>
> Thanks so much for your help. I now un
Hi Uwe
Thanks so much for your help. I now understand Token Filters much better
and your suggestion worked! Here's the code for anyone else who is
interested.
import org.apache.commons.logging.*;
import org.apache.lucene.analysis.TokenStream;
import org.apache.lucene.analysis.TokenFilter;
imp
ject: RE: Email Filter using Lucene 3.0
>
> Can you send us the original filter?
>
> The implementation below is wrong in the whole design. All attributes
> are singletons in each instance of this TokenStream, so your code
> cannot work. addAttribute always return the same ins
Can you send us the original filter?
The implementation below is wrong in the whole design. All attributes are
singletons in each instance of this TokenStream, so your code cannot work.
addAttribute always return the same instance. You have to register the
singletons in the ctor using addAttrib
Hi Jamie,
Could you say more about how it's not working? No compiling? Run-time
exceptions? Doesn't work as expected after you run a unit test for it?
Otis
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Hadoop ecosystem search :: http://search-hadoop.com/
- Original Mes