Ok I have a full text search index created on my JobsToDo table, but what I m concerned about is if this is rendering my other indexes on the table useless. I have a normal nonclustered index on the CreatedDate field in this table. So when I run my full text search it returns results, I then filter my full text search by CreatedDate >= GETDATE() - 7 to get the last 7 days worth of JobsToDo. Now is my normal index being used (on CreatedDate) or is it ignoring this index and purely searching on the full text index and then just searching the date criteria on the entire table again? My query looks like this:
// First create an index
CONSTRAINT [IX_JobsToDo] UNIQUE NONCLUSTERED
(
[CreateDate]
)
// Now run query
SELECT JobId,
Title,
FROM JobsToDO
FREETEXTTABLE (JobsToDo, (Title, [Description]), somestring )
AND CreatedDate >= GETDATE() - 7;
To summarise, will this query use my index I created on CreatedDate or not?