Upgrade to MS SQL Server 2025
If Foray ADAMS® is being upgraded to MS SQL Server 2025 from an earlier version the full text index must be rebuilt after restoring the DB.
What is the compatibility level of the current database?
SELECT name, compatibility_level
FROM sys.databases
WHERE name = '<foray_db>';Compatibility levels
Level | Database |
|---|---|
130 | SQL Server 2016 |
150 | SQL Server 2019 |
160 | SQL Server 2022 |
170 | SQL Server 2025 |
What tables are included in the full text index?
SELECT OBJECT_NAME(object_id) AS table_name, index_version
FROM sys.fulltext_indexes;What is the version of the full text index?
SELECT *
FROM sys.database_scoped_configurations
WHERE name = 'FULLTEXT_INDEX_VERSION';This will be 1 for DBs before 2025 and for restored DBs on 2025 before they are rebuilt.
Rebuild the full text catalog (all full text indexes)
ALTER FULLTEXT CATALOG [foray_adams_full_text_catalog] REBUILD;After this is complete check the index version. It should now be 2.