Re: Lucene in Action e-book now available!

2004-12-10 Thread Jonathan Hager
Congratulations on the book. I ordered my copy the other day via regular post and am eagerly awaiting it. It looks like it will make lucene available to a much wider audience. Based on the table of contents, I wanted to toss out a couple of ideas for your next book or articles. 1. I didn't see

Re: Index in RAM - is it realy worthy?

2004-11-24 Thread Jonathan Hager
When comparing RAMDirectory and FSDirectory it is important to mention what OS you are using. When using linux it will cache the most recent disk access in memory. Here is a good article that describes its strategy: http://forums.gentoo.org/viewtopic.php?t=175419 The 2% difference you are seeing

Re: Spell checker

2004-10-20 Thread Jonathan Hager
I investigated how the algorithm implemented in this spell checker compares with my simple implementation of a spell checker. First here is what my implementation looks like: //Each word becomes a single Lucene Document //To find suggestions: FuzzyQuery fquery = new FuzzyQuery(new Term("word"

Re: Range Query

2004-10-19 Thread Jonathan Hager
That is exactly right. It is searching the ASCII. To solve it I pad my price using a method like this: /** * Pads the Price so that all prices are the same number of characters and * can be compared lexigraphically. * @param price * @return */ public static String formatPriceA

Re: Google Desktop Could be Better

2004-10-15 Thread Jonathan Hager
and PDFs. It may be a good reference to figure out how to create an open source Google Desktop Search. Jonathan Hager - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]