如何在 SQL Server 2016 中安装全文搜索?
How to install Full-text search into SQL Server 2016?
我尝试在 Microsoft SQL Server 2016 Express 版(与 Visual Studio 2017 一起安装)中使用全文搜索。当我尝试创建全文目录时,出现错误
Cannot use full-text search in user instance.
然后我是运行
select fulltextserviceproperty('isfulltextinstalled')
结果为“0”。有人知道怎么安装吗?
听起来您使用的 LocalDB 不支持它。
Full-text Express with Advanced Services 和 "better"、Editions and supported features of SQL Server 2016 - Programmability:
支持索引
Feature Enterprise Standard Web Express with Advanced Services Express
Full-text and semantic search Yes Yes Yes Yes No
如果您想使用 Full-text 搜索,您将需要使用具有高级服务的 Express,而不是 LocalDB。
我尝试在 Microsoft SQL Server 2016 Express 版(与 Visual Studio 2017 一起安装)中使用全文搜索。当我尝试创建全文目录时,出现错误
Cannot use full-text search in user instance.
然后我是运行
select fulltextserviceproperty('isfulltextinstalled')
结果为“0”。有人知道怎么安装吗?
听起来您使用的 LocalDB 不支持它。
Full-text Express with Advanced Services 和 "better"、Editions and supported features of SQL Server 2016 - Programmability:
支持索引Feature Enterprise Standard Web Express with Advanced Services Express
Full-text and semantic search Yes Yes Yes Yes No
如果您想使用 Full-text 搜索,您将需要使用具有高级服务的 Express,而不是 LocalDB。