SQL Server PDF Full-Text Search not working on FileStream PDF File -
i cannot full-text search work on pdf files loading sql db via filestream.
version: sql server 2008 r2 (developer edition - doing proof of concept) os: windows 7
steps have taken.
- installed adobe ifilter
- made sure sql server full text daemon service running
- added environment path adobe pdf filter bin directory
ran below scripts setup new ifilter , make sure active
exec sp_fulltext_service @action='load_os_resources', @value=1; -- update os resources exec sp_fulltext_service 'verify_signature', 0 -- don't verify signatures exec sp_fulltext_service 'update_languages'; -- update language list exec sp_fulltext_service 'restart_all_fdhosts'; -- restart daemon exec sp_help_fulltext_system_components 'filter'; -- view active filters
created full-text index on filestream table wanted index
create fulltext index on local.file_repository (document type column file_extension) key index pk_file_repository on (filesearchcat, filegroup [primary]); go
rebuilt catalog
alter fulltext catalog filesearchcatrebuild accent_sensitivity=off;
ran query see if index working
select * local.file_repositorywhere freetext(document, '25678')
doesn't return results pdf, works fine word (docx)?
what doing wrong?
ok figured out....i needed run these steps:
exec sp_fulltext_service @action='load_os_resources', @value=1; -- update os resources exec sp_fulltext_service 'verify_signature', 0 -- don't verify signatures exec sp_fulltext_service 'update_languages'; -- update language list exec sp_fulltext_service 'restart_all_fdhosts'; -- restart daemon exec sp_help_fulltext_system_components 'filter'; -- view active filters
but needed run this!!!!
reconfigure override
Comments
Post a Comment