Full Text Searches are working on my test server, but not on my production server. My test scenario is as follows: CREATE FULLTEXT CATALOG FTC_Test
AS DEFAULT
AUTHORIZATION dbo
CREATE FULLTEXT INDEX ON guest.FtsTest(FullName)
KEY INDEX PK_FtsTest ON FTC_Test I wait briefly and then check to see if the index has been populated:
SELECT * FROM sys.fulltext_indexes crawl_end_date is not null, so I'm assuming I don't have to wait anymore before I try some FTS searches. Right? I can't get any queries to
return anything, though.
The following tells me the full text item count for the table is zero:
DECLARE @TableId INT
SELECT @TableId = id FROM sys.sysobjects WHERE [Name] = 'FtsTest'
SELECT OBJECTPROPERTYEX(@TableId, 'TableFulltextItemCount') AS TableFulltextItemCount As mentioned, the full text search works on my test server. Both of them are SQL 20012 SP1 (11.0.3000) x64 running on WinServer 2008 R2
SP1. Here's some additional info culled from a log file:2014-01-29 14:48:14.02 spid22s Informational: Full-text Full population initialized for table or indexed view '[MyDB].[guest].[FtsTest]' (table or indexed view ID '725121874', database ID '5'). Population sub-tasks: 4. 2014-01-29 14:48:16.05 spid40s Error '0x80004005' occurred during full-text index population for table or indexed view '[MyDB].[guest].[FtsTest]' (table or indexed view ID '725121874', database ID '5'), full-text key value '1000'. Attempt will be made to reindex it. 2014-01-29 14:48:16.05 spid40s Error '0x80004005' occurred during full-text index population for table or indexed view '[MyDB].[guest].[FtsTest]' (table or indexed view ID '725121874', database ID '5'), full-text key value '1001'. Attempt will be made to reindex it. 2014-01-29 14:48:16.05 spid40s Error '0x80004005' occurred during full-text index population for table or indexed view '[MyDB].[guest].[FtsTest]' (table or indexed view ID '725121874', database ID '5'), full-text key value '1002'. Attempt will be made to reindex it. 2014-01-29 14:48:16.50 spid87 Informational: Full-text Full population completed for t |
|