Use Full Text Search for Persian Language

非 Y 不嫁゛ 提交于 2020-03-18 15:22:27

问题


I see supported language in full text search (SQL Server 2012). Persian (Farsi) does not exist in list. But as I know, there is a way to use full text search for Persian language with adding custom dictionary, using Arabic language and etc.

Please help and give me some references and guidance for using Persian language in Full Text Search of SQL Server 2012.


回答1:


Yes FTS doesn't support Persian language, but that doesn't mean it won't work with it. Only inflectional queries such as WHERE CONTAINS(docexcerpt, N'FORMSOF(INFLECTIONAL, presentation)'); are not supported for Persian language. Because these types of queries need a lot of information about the structure and grammar of the specified language. Otherwise you can use queries like SELECT id, title, docexcerpt FROM dbo.Documents WHERE CONTAINS(docexcerpt, N'سلام');

More info in Persian



来源:https://stackoverflow.com/questions/28989545/use-full-text-search-for-persian-language

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!