StandardTokenizer

2011-09-29 Thread Peyman Faratin
Hi I have a sentence "i'll email you at x...@abc.com" and I am looking at the tokens a StandardAnalyzer (which uses the StandardTokenizer) produces 1: [i'll:0->4:] 2: [email:5->10:] 3: [you:11->14:] 5: [x:18->19:] 6: [abc.com:20->27:] I am using the following constructor new Standar

Re: TaxWriter leakage?

2011-09-29 Thread Mihai Caraman
Hmm.. if i leave it a couple of minutes before restarting, it doesn't log the proper shutdown steps, but it does restart correctly. 2011/9/29 Mihai Caraman > There may be some likage while using threadedIndexWriter... > > The app start as a listener servlet in tomcat6 > First start, all ok. > Fi

TaxWriter leakage?

2011-09-29 Thread Mihai Caraman
There may be some likage while using threadedIndexWriter... The app start as a listener servlet in tomcat6 First start, all ok. First close, none of these lines appear: *INFO: A valid shutdown command was received via the shutdown port. Stopping the Server instance. Sep 29, 2011 3:28:34 PM org.apa

RE: growing segments issue in lucene

2011-09-29 Thread Uwe Schindler
How about using MMapDirectory? The speed is similar to RAMDirectory and often even faster when GC goes crazy. - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: suman.holani [mailto:suman.hol...@zapak.co.in

Re: growing segments issue in lucene

2011-09-29 Thread Ian Lea
Directory.copy is deprecated in recent releases, but reading the javadocs it says "Copy contents of a directory src to a directory dest. If a file in src already exists in dest then the one in dest will be blindly overwritten." Which implies that any files in dest that don't exist in src will not