I'm passing a string into this stored procedure for
a Search using Full Text Search:
CREATE PROCEDURE SearchCatalog
(@Words varchar(50) = NULL)
AS
SELECT ProductID, Name, description
FROM Product
WHERE FREETEXT(*, @Words)
If the string just contains "the", or "4", or
other "noise words" an error is returned to my
VB ASP.NET program that says:
"A clause of the query contained only ignored words."
But if the string contains 2 words like "the medals",
it works, performing a search on "medals".
How can I handle this without filtering every phrase for
"the", etc . .
This one has me puzzled.
a Search using Full Text Search:
CREATE PROCEDURE SearchCatalog
(@Words varchar(50) = NULL)
AS
SELECT ProductID, Name, description
FROM Product
WHERE FREETEXT(*, @Words)
If the string just contains "the", or "4", or
other "noise words" an error is returned to my
VB ASP.NET program that says:
"A clause of the query contained only ignored words."
But if the string contains 2 words like "the medals",
it works, performing a search on "medals".
How can I handle this without filtering every phrase for
"the", etc . .
This one has me puzzled.