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
Quoting array names in Associative Arrays in PHP in assignment and echo statements.
Public Folder "Pretty" names not showing up in GAL
SWF object with FLVPlayback component
Insert into MySQL Table from MSSQL Insert Trigger
How to upgrade RAM on a Server 2003 Standard SP2
Shell Script
Need help with Syntax - DnsAvoidRegisterRecords
how to optimize performance of Terminal Server connections
magento limiting number of returned items in product collection call
How to remove new line from a string