SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Apostrophe (') in Full-Text Search String


Apostrophe (') in Full-Text Search String

Author
Message
saprux
saprux
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
Points: 1 Visits: 10
We use MS SQL Server 2005 full-text search. Our stored procedure for the search accepts a parameter which is the search string the user submitted using our site's search page. We use CONTAINSTABLE and FREETEXTTABLE.

The problem is when the user submits a search string with an apostrophe in it (ex. Foster's).
A search for "Foster's" does return the record which has the entry "Foster's" and also all Foster (without the apostrophe ).

However, searching for "O'Connor" will return the "O'Connor" record only and not any other Connor.

My problem now is: How do I make the fisrt example to works like the second one? How can I make my full-text search support the apostrophe? If it is indeed not possible, can you provide a link to an article that concludes/proves that MS SQL Server 2005 full-text search does not support the apostrophe in the search string?

Thanks
kslpeter87
kslpeter87
Forum Newbie
Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: General Forum Members
Points: 5 Visits: 0
I'm exactly the same problem and have no idea where to start fixing it. Have you got the issue resolved?
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search