January 12, 2012 at 3:26 am
How to search on more than one field with full-text indexes?
I used that:
SELECT TOP 10 * FROM TBL_TOC WHERE
CONTAINS(TBL_TOC.TEXT, '"journal*"') AND CONTAINS(TBL_TOC.AUTH, '"Carl*"')
But it's very slow...
Thanks
Sharon
January 12, 2012 at 3:52 am
I think your issue is the same as your other post:
http://www.sqlservercentral.com/Forums/FindPost1234607.aspx
-- Gianluca Sartori
February 22, 2012 at 9:51 am
Sharon-328725 (1/12/2012)
How to search on more than one field with full-text indexes?I used that:
SELECT TOP 10 * FROM TBL_TOC WHERE
CONTAINS(TBL_TOC.TEXT, '"journal*"') AND CONTAINS(TBL_TOC.AUTH, '"Carl*"')
But it's very slow...
Thanks
Sharon
Actually you can use: CONTAINS(TBL_TOC.TEXT, '"journal*"' AND '"Carl*"') syntax.
But if your table is big be ready to wait for a long time.
BTW, Sql Server 2008 can be your solution as FTS there is better (especially if your WHERE clause
comprises extra, not FTS conditions)
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply