From perlfect-search@perlfect.com Tue Jun 1 07:43:32 2004 From: perlfect-search@perlfect.com (Ray Collett) Date: Tue, 1 Jun 2004 00:43:32 -0700 Subject: [Perlfect-search] Partial word search Message-ID: <1086075812.40bc33a4451e5@mail.norwesters.org> Greetings, Maybe I have missed this option in the conf file somewhere, but I can't get Perlfect to find partial words in a search. For example, if I search for "cell", I'd expect it to find "cellphone", albeit with a lower score than the exact match "cell". And if I search for "cell phone", it should also find the "cellphone". Is Perlfect Search unable to do this? I'd think that a simple string search on each entery in the DB list of words could pull this off. Thanks -Ray From perlfect-search@perlfect.com Tue Jun 1 07:53:27 2004 From: perlfect-search@perlfect.com (Ray Collett) Date: Tue, 1 Jun 2004 00:53:27 -0700 Subject: [Perlfect-search] Partial word search In-Reply-To: <1086075812.40bc33a4451e5@mail.norwesters.org> References: <1086075812.40bc33a4451e5@mail.norwesters.org> Message-ID: <1086076407.40bc35f73d8ad@mail.norwesters.org> Quoting Ray Collett : > Is Perlfect Search unable to do this? I'd think that a simple string > search on each entery in the DB list of words could pull this off. It just occured to me, it would be simpler than string searching each keyword. Just use a DB query to return partial hits. Maybe I'm a bit naive though.... if it's that simple, it would already be implemented. Hmmm -Ray From perlfect-search@perlfect.com Thu Jun 3 07:36:23 2004 From: perlfect-search@perlfect.com (Daniel Naber) Date: Thu, 3 Jun 2004 09:36:23 +0200 Subject: [Perlfect-search] Partial word search In-Reply-To: <1086076407.40bc35f73d8ad@mail.norwesters.org> References: <1086075812.40bc33a4451e5@mail.norwesters.org> <1086076407.40bc35f73d8ad@mail.norwesters.org> Message-ID: <200406030936.23183@danielnaber.de> On Tuesday 01 June 2004 09:53, Ray Collett wrote: > It just occured to me, it would be simpler than string searching each > keyword. Just use a DB query to return partial hits. There's a patch for an older version here: http://www.danielnaber.de/perlfectsearch/ There's an easy way to implement this feature (basically the way you suggest), but this will lead to slow searches. Regards Daniel -- http://www.danielnaber.de