简体   繁体   English

Azure SQL数据库v12-全文查询

[英]Azure SQL Database v12 - Full-text query

We are using: Azure SQL Database v12 (Standard S3) - ASP.NET WEB APP 我们正在使用:Azure SQL数据库v12(标准S3)-ASP.NET WEB APP

We are encountering an error when we run a stored procedure that includes a full-text search. 当我们运行包含全文搜索的存储过程时,我们遇到一个错误。 The error is: 错误是:

An error has occurred during the full-text query . 全文查询期间发生错误。 Common causes include: word-breaking errors or timeout, FDHOST permissions/ACL issues, service account missing privileges, malfunctioning IFilters, communication channel issues with FDHost and sqlservr.exe, etc 常见原因包括:断字错误或超时,FDHOST权限/ ACL问题,服务帐户权限丢失,IFilter故障,与FDHost和sqlservr.exe的通信通道问题等

This error occurs during the first attempt to run the stored procedure ONLY. 仅在第一次尝试运行存储过程时发生此错误。 If we refresh the page after the error has occurred the stored procedure runs (extremely fast) as it should without any problem. 如果我们在发生错误后刷新页面,则存储过程将按预期运行(极其快速),而不会出现任何问题。

One of the articles that we red suggests to execute the sp_fulltext_service and set verify_signature to 0. We haven't managed to do so with SQL DB v12. 我们推荐的其中一篇文章建议执行sp_fulltext_service并将verify_signature设置为0。对于SQL DB v12,我们还没有做到这一点。 We got an error: DBCC command CALLFULLTEXT is not supported in this version of SQL Server. 我们收到一个错误:此版本的SQL Server不支持DBCC命令CALLFULLTEXT

You should retry on the error. 您应该重试该错误。 This happens when Fdhost process is not paired with SQL (after a failover for example) and when query runs it might have tried connecting and it timed out. 当Fdhost进程未与SQL配对时(例如在故障转移之后),并且在查询运行时,它可能尝试连接并且超时,就会发生这种情况。 On the retry it will succeed and should run without any issues. 重试将成功,并且应无任何问题地运行。

Thanks, 谢谢,

Mihaela 米哈埃拉

please email me [snarlap at microsoft dot com] your server and database name if you encounter the issue frequently. 如果您经常遇到此问题,请给我发电子邮件[microsoft dot com上的snarlap]您的服务器和数据库名称。 All the word breaker dlls are shipped and signed by Microsoft and SQL DB doesn't allow third party word breakers. 所有分词系统dll均由Microsoft交付并签名,并且SQL DB不允许第三方分词系统。 So setting verify_signature has no impact. 因此,设置verify_signature没有影响。 Also SQL DB team amanges full text settings according to the database edition and DTU so these options are no available in SQL DB 此外,SQL DB团队会根据数据库版本和DTU修改全文设置,因此这些选项在SQL DB中不可用

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

相关问题 ContentHash 未在 Azure Blob Storage v12 中计算 - ContentHash not calculated in Azure Blob Storage v12 全文查询字符串的全文查询参数无效 - The full-text query parameter for Fulltext Query String is not valid 如何使用 Azure.Storage v12 SDK 从 Azure Blob 中删除元数据? - How can I remove metadata from an Azure Blob using Azure.Storage v12 SDK? 在SQL Server中具有多个表和排名的全文本搜索 - Full-Text search in Sql server with multiple tables and ranking 在SQL Server中将二进制文件另存为BLOB和文本(或从全文索引中获取文本) - Save a binary file in SQL Server as BLOB and text (or get the text from Full-Text index) 托管后,Crystal Reports v12不显示报告 - Crystal reports v12 doesnt show the report after hosting System.Data.SqlClient.SqlException:未安装全文搜索,或者无法加载全文组件 - System.Data.SqlClient.SqlException: Full-Text Search is not installed, or a full-text component cannot be loaded 用户代码未处理SqlException。 (全文索引) - SqlException was unhandled by user code. (Full-Text index) 使用CONTAINS和变量中的短语进行全文本查询(csharp; sql) - FULL Text Query using CONTAINS and phrase in variable (csharp; sql) 从绑定控件执行存储过程时的“空或全文谓词” - ‘Null or empty full-text predicate’ when executing a store procedure from a bound control
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM