Searching for misspelled keywords?

From: AKG (AKG_at_discussions.microsoft.com)
Date: 02/14/05


Date: Mon, 14 Feb 2005 02:31:03 -0800

Hi,

I'm using SQL queries with LIKE operator to search for keyword(s) in a
VARCHAR field of a table. This works fine for basic search but now I want my
web application to search for not only specified terms but also suggest user
for alternate spellings incase of any misspellings, just like Google. e.g. If
I enter 'Pakstan' it should search for this keyword as well as suggest the
correct word 'Pakistan' or any other word as it also appear in MS Word when
there is a spelling mistake.

I know there is Full-Text Catalog in SQL Server but it doesn't suggest
alternate spellings or misspellings, does it? Is there any off the shelf
component I can download? I don’t have to build and check this manually, do I?

Any suggestions/responses will be highly appreciated. Or should I be
looking/posting at some other forum for this issue. MSDN comes first thing in
my mind for solutions :)

Please note that I need to search for one or more keywords in VARCHAR fields
in multiple columns of many tables. I’m catering multiple keywords by
separating the String of keywords in the stored procedure using T-SQL.

Thanks

AKG



Relevant Pages

  • Re: [PHP] Mysql strategy
    ... > If I have to perform 30 LIKE searches for different keywords in a ... > 2) To select the varchar field from all the rows, ... and the machine is a dedicated server running RHEL. ... solution of MySQL, only yours is a lot slower... ...
    (php.general)
  • Re: [PHP] Mysql strategy
    ... On 13/11/06, Chris wrote: ... > If I have to perform 30 LIKE searches for different keywords in a ... > 2) To select the varchar field from all the rows, ... This is the makeLink function in another ...
    (php.general)
  • Mysql strategy
    ... If I have to perform 30 LIKE searches for different keywords in a ... To select the varchar field from all the rows, ... and the machine is a dedicated server running RHEL. ... Thanks in advance for any advice. ...
    (php.general)
  • Re: [PHP] Mysql strategy
    ... > If I have to perform 30 LIKE searches for different keywords in a ... > 2) To select the varchar field from all the rows, ... If you are worried about the speed of this query I'd suggest rethinking ... your database structure. ...
    (php.general)
  • Re: keyword lookup system guidance needed
    ... keywords are not duplicated per MainID, ... >> tblKeywords - that is, a particular keyword cannot occur twice for the ... >> number of AND keywords chosen. ... >> "SQL Queries for Mere Mortals" ...
    (microsoft.public.access.queries)