I need to do a full text search given a word input by a user. However for simple words like 'the' the full text search returns the error
'The query contained only ignored words.'
How can I trap this error and return the results of an alternative query.
You do not understand.
I want to use full text search. The problem is
if the following search is run
SELECT Indexes from IndexTable where
CONTAINS(Indexes,' FORMSOF (INFLECTIONAL,"the"
the error 'The query contained only ignored words.' occurs which I would like to trap so i can return the results
of
SELECT Indexes from IndexTable where Indexes like '%the%'
instead. Does anybody know how to trap the error return in Transact SQL?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.