全文搜索在 SQL Server 中无法正常工作

发布于 2024-12-01 19:45:06 字数 254 浏览 3 评论 0原文

我已经在 SQL Server 中创建了一个全文搜索目录并通过 asp.net 应用程序执行,但它无法正常工作。

我的场景是:我有一个文档文件,第一次当我搜索文本(Demo)时,它会显示结果,但是当我在文档文件中进行更改并插入另一个 Demo< /code> text 那么它不会在完整搜索中显示插入的文本。

如果有办法重建或对目录进行任何操作,请告诉我。

请尽快帮助我并提前致谢。

I have created a Full Text search Catalog in SQL Server and performing through asp.net application but it's not working properly.

My Scenario is: I have a doc file and for first time when I will search the text (Demo) then it shows the result but when I do change in doc file and insert another Demo text then it doesn't show the inserted text in full search.

Please let me know if there is way to rebuild or any operation to do with catalog.

Please Help me ASAP and thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

只涨不跌 2024-12-08 19:45:06

首先验证在 SQL Server 中是否正确配置了全文搜索

  1. 在运行 SQL Server 的服务器上,单击“开始”,指向“所有程序”,指向“Microsoft SQL Serve”,然后单击“企业管理器”。

  2. 在左窗格中,展开“Microsoft SQL Servers”节点。

  3. 展开 SQL Server 组节点,然后展开运行 SharePoint 数据库的服务器实例。

  4. 展开数据库节点。

  5. 右键单击 Northwind 数据库,单击“新建”,然后单击“新建全文目录”。

    如果未安装 Northwind 数据库,您可以使用任何其他可用的数据库。

  6. 在“名称”框中,键入用于目录的名称(例如“test”),然后单击“确定”。

  7. 在右侧窗格中,双击“全文目录”。

    应列出您的新全文目录。如果目录创建时没有任何错误,则全文搜索在 SQL Server 中工作正常。如果创建此测试目录时出现错误,则可能是为您的 SharePoint 网站创建目录时出现错误。 SQL Server 全文服务必须正常运行,SharePoint 站点中的全文搜索才能运行。有关配置全文搜索的详细信息,请参阅 SQL Server 2000 联机丛书中的“使用 SQL 企业管理器管理全文功能”。如果存在无法解决的问题,请联系 Microsoft 支持。

    验证目录已成功创建后,您可以删除测试目录。

  8. 右键单击该目录,然后单击“删除”。

  9. 在确认消息上,单击“是”。

First verify that full-text searching is configured correctly in SQL Server

  1. On your server running SQL Server, click Start, point to All Programs, point to Microsoft SQL Serve , and then click Enterprise Manager .

  2. In the left pane, expand the Microsoft SQL Servers node.

  3. Expand the SQL Server Group node, and then expand the server instance that is running your SharePoint databases.

  4. Expand the Databases node.

  5. Right-click the Northwind database, click New , and then click New Full-Text Catalog .

    If the Northwind database is not installed, you can use any other available database.

  6. In the Name box, type a name to use for the catalog (such as "test"), and then click OK .

  7. In the right pane, double-click Full-Text Catalogs .

    Your new full-text catalog should be listed. If the catalog was created without any errors, full-text searching is working correctly in SQL Server. If there were errors creating this test catalog, there were probably errors creating the catalogs for your SharePoint sites. The SQL Server Full-Text service must be working before full-text searches in your SharePoint sites can work. For more information about configuring full-text searching, see "Administering Full-Text Features Using SQL Enterprise Manager" in SQL Server 2000 Books Online. Contact Microsoft Support if there are issues that you cannot resolve.

    After you have verified that the catalog was created successfully, you can delete the test catalog.

  8. Right-click the catalog, and then click Delete .

  9. On the confirmation message, click Yes .

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文