简体   繁体   English

SQL Server全文索引出现多个LCID错误

[英]Multiple LCID error with SQL Server Full-text Index

Changing one full-text index column Language (LCID) to Neutral when the others are English results in the following error: 当其他人为英语时,将一个全文索引列语言(LCID)更改为中性会导致以下错误:

System.Data.SqlClient.SqlException (0x80131904):
Full-text table or indexed view has more than one LCID among its
full-text indexed columns

Repopulating the index does not resolve the error. 重新填充索引不能解决错误。

If SQL Server lets me specify different Languages for every full-text column, then surely there must be a way to bypass this error? 如果SQL Server允许我为每个全文列指定不同的语言,那么肯定有办法绕过这个错误吗?

You should check if all the columns that are full-text indexed have the same language word breaker. 您应检查全文索引的所有列是否具有相同的语言分词符。 Go to context menu of the table--> Full text index--> Properties. 转到表格的上下文菜单 - >全文索引 - >属性。 In the left side, you'll find Columns. 在左侧,您将找到列。 Select it and edit all language word breaker to be the same. 选择它并将所有语言分词符编辑为相同。 I hope you find this usefull 我希望你发现这很有用

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM