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
getting an format error using to_char function
C# How to remove <STX> and <ETX> characters from file
Exchange 2010 replication over a WAN with high latency
Using System.Type in switch()
Freeware Firewall software
Reset of displayed form when "requery" is performed
Project Server 2010 won't install
Limiting User Access
Javascript form validation problems
Boot Acer Ferrari 1200 laptop from dvd to upgrade vista to windows 7