I have one follow up question on the subject of fulltext indexing with
French and that is how can I get the search to ignore accents? For
example if I search 'hopital' I would like the results to show all
places where it finds 'hôpital' or 'hopital'. Is this possible?
Thanks.
> Thanks, that worked a treat and very easy to do too!
>
[quoted text clipped - 7 lines]
> >
> > Regards, Gerald.
John Kane - 23 Nov 2004 05:27 GMT
Darren,
Unfortunately, the issue of accent sensitivity vs. accent insensitivity FTS
is more difficult to answer. This is a well known bug that has been around
for a long time (since SQL Server 7.0) and is truly only going to be fixed
in SQL Server 2005 <sigh>. As there are only workarounds for this bug in SQL
Server 2000 that require the use of duplicate data where you store the
non-accented search words, such as 'hopital'. You would then FT Index and FT
Search this column, while returning the accented search data (such as
'h?pital') from another column back to the user. You will need to develop
accent removal procedures as well as use triggers (insert & update) to
maintain the currency of the two columns....
Regards,
John
> I have one follow up question on the subject of fulltext indexing with
> French and that is how can I get the search to ignore accents? For
[quoted text clipped - 14 lines]
> > >
> > > Regards, Gerald.
Gerald Baeck - 23 Nov 2004 07:28 GMT
Darren,
my workaround for this problem is to replace all special chars before
filling the index. I know it could take a while, but till Yukon is released
its the only way i think.
UPDATE [table] SET [field] = REPLACE([field], '?', 'o')
Regards, Gerald.
>I have one follow up question on the subject of fulltext indexing with
> French and that is how can I get the search to ignore accents? For
[quoted text clipped - 16 lines]
>> >
>> > Regards, Gerald.