Manage and Monitor Semantic Search
Describes the process of semantic indexing and the tasks related to managing and monitoring the indexes.
You can force the population of full-text and semantic indexes by using the START/STOP/PAUSE or RESUME POPULATION clause with the same syntax and behavior that is described for full-text indexes. For more information, see ALTER FULLTEXT INDEX (Transact-SQL) and Populate Full-Text Indexes.
Since semantic indexing is dependent on full-text indexing, semantic indexes are only populated when the associated full-text indexes are populated.
Example: Start a full population of full-text and semantic indexes
The following example starts full population of both full-text and semantic indexes by altering an existing full-text index on the Production.Document table in the AdventureWorks2012 sample database.
USE AdventureWorks2012
GO
ALTER FULLTEXT INDEX ON Production.Document
START FULL POPULATION
GO
You can enable or disable full-text or semantic indexing by using the ENABLE/DISABLE clause with the same syntax and behavior that is described for full-text indexes. For more information, see ALTER FULLTEXT INDEX (Transact-SQL).
When semantic indexing is disabled and suspended, queries over semantic data continue to work successfully and to return previously indexed data. This behavior is not consistent with the behavior of Full-Text Search.
-- To disable semantic indexing on a table
USE database_name
GO
ALTER FULLTEXT INDEX ON table_name DISABLE
GO
-- To re-enable semantic indexing on a table
USE database_name
GO
ALTER FULLTEXT INDEX ON table_name ENABLE
GO
Semantic Search indexes two kinds of data for each column on which it is enabled:
-
Key phrases
-
Document similarity
Semantic indexing occurs in two phases, in conjunction with full-text indexing:
-
Phase 1. The full-text keyword index and the semantic key phrase index are populated in parallel at the same time. The data required to index document similarity is also extracted at this time.
-
Phase 2. The semantic document similarity index is then populated. This index depends on both indexes that were populated in the preceding phase.
