I create a full-text search index on varbinary(max) column and insert file content into this column.(files like docx,xlsx,txt,…) I create an extension column for specify content type.but when I query this table with contains,
SELECT *
FROM tblFiles
WHERE CONTAINS(tblFiles.FileContent, 'web OR webserver');
no result were showing.why?
I found why my query dont work. because files that inserted into db was docx and in my database does not exist any filter for this format.I inserted a doc document and query it.It works. 🙂
Thank you.