How does Full Text Search works with binary data types (such as varbinary and image)

橙三吉。 提交于 2019-12-13 04:30:57

问题


I was creating an application in which we have to store files in data base. So i have chosen varbinary for it. Now we need to configure Full Text Search on this column.

But I am able to understand how varbinary data type will handle FTS. Because FTS works on text data type.


回答1:


Check this document and this document in MSDN

To create a full-text index on a varbinary(max) column, the Full-Text Engine needs access to the file extensions of the documents in the varbinary(max) column. This information must be stored in a table column, called a type column, that must be associated with the varbinary(max) column in the full-text index. When indexing a document, the Full-Text Engine uses the file extension in the type column to identify which filter to use.



来源:https://stackoverflow.com/questions/18712151/how-does-full-text-search-works-with-binary-data-types-such-as-varbinary-and-im

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