简体   繁体   English

如何在SQL Server 2005 Express中启用全文索引?

[英]How to enable Full-text Indexing in SQL Server 2005 Express?

I am trying to enable Full-text indexing in SQL Server 2005 Express. 我试图在SQL Server 2005 Express中启用全文索引。 I am running this on my laptop with Vista Ultimate. 我正在使用Vista Ultimate在我的笔记本电脑上运行它。

I understand that the standard version of SQL Server Express does not have full-text indexing. 据我所知,SQL Server Express的标准版本没有全文索引。 I have already downloaded and installed "Microsoft SQL Server 2005 Express Edition with Advanced Services Service Pack 2" ( download ). 我已经下载并安装了“带有高级服务Service Pack 2的Microsoft SQL Server 2005 Express Edition”( 下载 )。

I have also ensured that both the "SQL Server (instance)" and "SQL Server FullText Search (instance)" services are running on the same account which is "Network Service". 我还确保“SQL Server(实例)”和“SQL Server FullText搜索(实例)”服务都在“网络服务”的同一帐户上运行。

I have also selected the option to "Use full-text indexing" in the Database Properties > Files area. 我还在“数据库属性”>“文件”区域中选择了“使用全文索引”选项。

I can run the sql query "SELECT fulltextserviceproperty('IsFulltextInstalled');" 我可以运行sql查询“SELECT fulltextserviceproperty('IsFulltextInstalled');” and return 1. 并返回1。

The problem I am having is that when I have my table open in design view and select "Manage FullText Index"; 我遇到的问题是,当我在设计视图中打开表格并选择“管理FullText索引”时; the full-text index window displays the message... 全文索引窗口显示消息...

"Creation of the full-text index is not available. Check that you have the correct permissions or that full-text catalogs are defined." “无法创建全文索引。请检查您是否具有正确的权限,或者是否定义了全文目录。”

Any ideas on what to check or where to go next? 关于要检查什么或下一步去哪里的任何想法?

sp_fulltext_database 'enable'

CREATE FULLTEXT CATALOG [myFullText]
WITH ACCENT_SENSITIVITY = ON

CREATE FULLTEXT INDEX ON [dbo].[tblName] KEY INDEX [PK_something] ON [myFullText] WITH CHANGE_TRACKING AUTO
ALTER FULLTEXT INDEX ON [dbo].[otherTable] ADD ([Text])
ALTER FULLTEXT INDEX ON [dbo].[teyOtherTable] ENABLE

All I needed to get full-text indexing to work was the... 我需要全文索引才能工作......

CREATE FULLTEXT CATALOG [myFullText] WITH ACCENT_SENSITIVITY = ON CREATE FULLTEXT CATALOG [myFullText] WITH ACCENT_SENSITIVITY = ON

After that I could run a CREATE FULLTEXT INDEX query or use the Manage FullText Index in MSSQL Management Studio. 之后,我可以运行CREATE FULLTEXT INDEX查询或使用MSSQL Management Studio中的Manage FullText Index。

Use sql server management studio. 使用sql server management studio。

Login as admin to your windows account. 以管理员身份登录到您的Windows帐户。

Then select database and right click on database in sql server management studio and select Define Full Text Index and you are guided throughout the process by management studio. 然后选择数据库并右键单击sql server management studio中的数据库并选择定义全文索引,管理工作室将在整个过程中为您提供指导。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在SQL Server 2008 Express中使用SQL Server Management Studio启用全文索引? - How can I enable Full-Text indexing using SQL Server Management Studio in SQL Server 2008 Express? SQL Server 2005 Express中的全文本索引比较 - Full-Text Index Comparisons in SQL Server 2005 Express 如何在Sql Server 2008表上启用全文索引 - How to Enable Full-Text Index on Sql Server 2008 Table SQL Server 2005上的简单全文搜索问题 - Problem with simple full-text search on SQL Server 2005 SQL 服务器奇怪的全文索引和区分大小写和数字 - SQL Server oddity with full-text indexing and case sensitivity and numbers 如何在 SQL Server Express 2019 安装中添加全文搜索 - How to add full-text search to SQL Server Express 2019 installation 如何在 SQL Server 2008 Express 中启用全文搜索 - How to enable Full Text Search in SQL Server 2008 Express SQL Server 2005数据库大小属性是否包含全文本索引? - Does the SQL Server 2005 database size property include the full-text index? 将数据库从 SQL Server 2005 升级到 2008 — 并重建全文索引? - Upgrade database from SQL Server 2005 to 2008 — and rebuild full-text indexes? 将数据库从SQL Server 2000升级到2005 —并重建全文索引? - Upgrade database from SQL Server 2000 to 2005 — and rebuild full-text indexes?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM