fulltext index returning no results from pdf filestream

蓝咒 提交于 2019-12-05 20:16:15

I ran into the same problem. I have a filestream table on SQL Server 2012 Standard populated with PDFs. I downloaded Adobe's iFilter 11 and created a full text index on the PDFs. I was not able to make it work in production--the filestream table was populated, but full text search was not, and this error occurred in the log: (SQL Server Log folder, SQLFTxxxxx.LOG): Warning: No appropriate filter was found during full-text index population for table or indexed view

It turned out that the archive bit on the files was set to on. When I turned it off, the full text search populated and searches started to work.

Hope this helps someone else. Also, if you have insight into why it works this way, please let us know. From researching the archive bit, it appears that it indicates that the file is new or changed and in need of a backup. Thanks!

There is another possible fix to this problem; installing some versions of Acrobat or Reader can break the PDF iFilter. Adobe posts this workaround:

https://helpx.adobe.com/acrobat/kb/pdf-search-breaks-110-install.html

Solution

Do one of the following:

Update to Acrobat/Reader 11.0.4 or higher. The issue is fixed in version 11.0.4. PDF iFilter 9 is not supported on Windows 8, update to PDF iFilter 11 from here. If you cannot update your Acrobat/Reader or PDF iFilter, here is the workaround.

Workaround: Restore the registry entry to the Windows 8 native entry as follows:

  1. Go to HKEY_CLASSES_ROOT\.pdf\PersistentHandler. Create the key if it does not exist.

  2. Verify that the value is 1AA9BF05-9A97-48c1-BA28-D9DCE795E93C. If the Acrobat or Reader install overwrote the entry with F6594A6D-D57F-4EFD-B2C3-DCD9779E382E, return it to its original value.

  3. If you have any third-party PDF iFilters installed, reinstall them.

  4. Restart the Windows Search service:

    1. Go to Task Manager > Services.
    2. Select WSearch.
    3. Right-click, and then choose Restart.

I had to use Adobe iFilter 9 for sql server 2014 and 2017.

ftp://ftp.adobe.com/pub/adobe/acrobat/win/9.x/PDFiFilter64installer.zip

I've finally found a solution, after trying both Adobe and Foxit Ifilter with the same error message, I found this other Ifilter called "PDFlib", I downloaded it and followed its instructions to make it available to SQL Server, rebuilt the index and now my pdfs are indexed and can be searched.

I believe that if I follow these same instructions for the other ifilters they will work as well, gonna try that after I'm done with my tests and update with the results.

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