advice on DoubleMetaphoneSearching

2008-12-17 Thread Geoff Hendrey
Hi, I would like to have a Phrase Query in which the Terms are matched using the DoubleMetaphone algorithm.I found this link: http://www.tropo.com/techno/java/lucene/metaphone.html Which describes a DoubleMetaphoneQuery, and indeed this query works amazingly well for misspellings, but only for

double metaphone for misspellings

2008-12-17 Thread Geoff Hendrey
spelled terms with PhraseQuery show that only name-tokenized-doublemetaphone can tolerate misspellings.So this seems to be a nice and efficient way to allow inputs that are wildly misspelled. Can someone explain to me exactly what Field.Store.YES and Field.Index.ANALYZED do? Should I tune these values?

RE: double metaphone for misspellings

2008-12-18 Thread Geoff Hendrey
an...@nuix.com] Sent: Thursday, December 18, 2008 12:45 AM To: java-user@lucene.apache.org Subject: Re: double metaphone for misspellings Geoff Hendrey wrote: > ((POINameType)name).getText().split("\\s"); //tokenize manually. (gosh, > I thought the analyser would do this) The analys