问题
I have a full text indexed column in SQL Server 2008 which has the following rows:
W Smithers, Wilda Smithers, W2 Smithers
When I run the following query I only get back Wilda Smithers and W2 Smithers.
SELECT FT_TBL.full_name as results
FROM dbo.ft_table AS FT_TBL WITH (NOLOCK)
INNER JOIN CONTAINSTABLE (ft_table , full_name, '("w*" AND "smither*")',12) AS KEY_TBL
ON FT_TBL.ft_key_id = KEY_TBL.[KEY]
ORDER BY KEY_TBL.RANK desc
Any suggestions on how to tweak this so W Smithers is also in my result set?
回答1:
The W probably is a stop word. Try to remove it from the stoplist.
Check this link to see how it is done: Configure and Manage Stopwords and Stoplists for Full-Text Search
EDIT
Try to recreate the FT index, but this time do not specify any stop list at all.

来源:https://stackoverflow.com/questions/13055425/sql-server-2008-fulltextsearch-single-character-in-name-missing-from-results