RE: Email Filter using Lucene 3.0

2010-01-29 Thread Uwe Schindler
...@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

Re: Email Filter using Lucene 3.0

2010-01-29 Thread Jamie
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

RE: Email Filter using Lucene 3.0

2010-01-29 Thread Uwe Schindler
gt; return incrementToken(); > } > > Uwe > > - > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: u...@thetaphi.de > > > -Original Message----- > > From: Jamie [mailto:ja...@stimulussoft.com] &g

RE: Email Filter using Lucene 3.0

2010-01-29 Thread Uwe Schindler
; From: Jamie [mailto:ja...@stimulussoft.com] > Sent: Friday, January 29, 2010 1:29 PM > To: java-user@lucene.apache.org > Subject: Email Filter using Lucene 3.0 > > Hi THere > > In the absence of documentation, I am trying to convert an EmailFilter > class to Lucene 3.0.

Re: Email Filter using Lucene 3.0

2010-01-29 Thread Otis Gospodnetic
- Original Message > From: Jamie > To: java-user@lucene.apache.org > Sent: Fri, January 29, 2010 7:29:13 AM > Subject: Email Filter using Lucene 3.0 > > Hi THere > > In the absence of documentation, I am trying to convert an EmailFilter class > to > Lu

Email Filter using Lucene 3.0

2010-01-29 Thread Jamie
Hi THere In the absence of documentation, I am trying to convert an EmailFilter class to Lucene 3.0. Its not working! Obviously, my understanding of the new token filter mechanism is misguided. Can someone in the know help me out for a sec and let me know where I am going wrong. Thanks. impo