I create one simple Full Text Catalog on a varchar(500) filed, which mainly store address text like 24 King Street Melbourne VIC 3000. The catalog is set to auto track changes. But I found there are always a few records in the table are not indexed by Full Text Catalog after I fully populate it.
For example, the table has 10,000 records, but the full text has only 9,997 records. So there are three records are not indexed. I rebuild the full text and all records are indexed. But after user start to insert data, there are missing records again. Table records increased to 11,000. But the full text records only have 10,999. Any idea why full text always missing some records?
If I run a manual update on the missing record, it will automatically indexed.
The filed included in the full text is updated by a trigger. It seems full text has issues tracking field that are updated by trigger?
Environment
SQL Server 2008 R2 Service Pack 2 – 10.50.4000
Full Text is set to Auto Track Changes
Best Answer
Full-Text Catalog Indexing takes time.
The official Microsoft Document states (emphasis by me) in the section Population based on change tracking:
Reference: Populate Full-Text Indexes (Microsoft Docs)
You might want to consider using Incremental population based on timestamp which is mentioned in the same document.