Microsoft
Software
Hardware
Network
Question : Full Text search syntax "Burn after reading"
Hello
I am trying to allow a user to search any part of a word in an existing title (say a movie title) and get the corresponding rows. But full text search doesn't seem to behave the way I expected.
For instance one of my rows contains: "Burn After Reading (2008)"
The following will return a list including this result:
... WHERE CONTAINS([ColName], ' "burn" AND "reading"');
and so will the following:
... WHERE CONTAINS([ColName], ' "*burn*" AND "*readin*"');
... WHERE CONTAINS([ColName], ' "burn after"');
My problem is that the following will not return anything:
... WHERE CONTAINS([ColName], ' "*burn*" AND "*eadin*"');
nor will this return anything:
... WHERE CONTAINS([ColName], ' "*burn*" AND "*after*"');
I tried some other combinations with not much more success:
... WHERE CONTAINS([ColName], ' "*burn after*"');
What I am wondering is what I should do to allow user the search any part of any word contained in my full text index (whether the words start, end or include the keyword in the middle)? Obviously I can not know in advance if what the user typed is meant to be a full word or a part of a word only.
thanks in advance
Charles
Answer : Full Text search syntax "Burn after reading"
http://msdn.microsoft.com/
en-us/libr
ary/ms1425
51.aspx
>>The system stoplist is installed in the Resource database.<<
http://msdn.microsoft.com/
en-us/libr
ary/cc2806
08.aspx
sys.fulltext_stopwords
Random Solutions
Where can I find free borders to download?
How can I prevent my object being overwritten in a for loop?
mysql stored proc parameter
Red "X" appears in the icon for a mapped network drive in Windows 7, even though you can successfully access the drive
How to make WPF button background color silver?
0xefbfbd of encoding "UTF8" has no equivalent in "WIN1252"
Unable to copy and paste files through remote desktop
windows xp 64 bit on APPLE IMAC 27 inch
Searching inside PHP files
Finding file owner - getting an error: identity references could not be translated