Full-Text search is not working with PDF files - SQL Server 2012 64 bit

Hi,
We are in the process of storing PDF files in SQL Server 2012 with Full-Text search capability.
I followed the steps as below and it works fine with word document but not for PDF files. I tried with PDF ifiler 11 & 9 and both are unsuccessful.
Server/DB Level Settings:
1)
Enable FileStream
2)
Install Full-Text
then restart
3)
Use [specific db]
alter
database [db name]
add
filegroup Files
contains filestream;
alter
database [db name]
add
file (
name = N'Files',
filename =
N'D:\SQL\DATA') to
filegroup [Files];
3)
Database level
Settings:
FileStream:
FileStream
Directory name:
[Set the name]
FileStream
non-transacted
Access: [set Appropriate]
3a)
Add a
datafile to DB
with filestreamdata
filetype.
4)
Share D:\SQL\DATA
directory and
add specific accounts
with read/write
access
5)
Give bulkadmin
access to those
specific accounts
at server
level
6)
From the
page (link)
download and
install the *.pdf
IFilter for
FTS. Link:
http://www.adobe.com/support/downloads/detail.jsp?ftpID=5542
7)
To the
PATH global system
variable add
path to the
catalog,
where you installed
the plugin.
Default for
this version is:
C:\Program
Files\Adobe\Adobe
PDF iFilter 9
for 64-bit
platforms\bin
8)
From the
page (link)
download a
FilterPackx64.exe
and install
it. Link:
http://www.microsoft.com/en-us/download/confirmation.aspx?id=20109
9)
Now from
SSMS execute the following
procedures:
-sp_fulltext_service
'load_os_resources',1
-sp_fulltext_service
'verify_signature', 0
EXEC
sp_fulltext_service
'update_languages';
-- update language list
EXEC
sp_fulltext_service
'restart_all_fdhosts';
-- restart daemon
reconfigure
with override;
10)
Restart the
server
11)
select document_type,
path from
sys.fulltext_document_types
where document_type
= '.pdf'
-select
document_type,
path from sys.fulltext_document_types
where document_type
= '.docx'
12) Results are OK.
Following is my Table /Index/ catalog script:
CREATE
TABLE dbo.DocumentFilesTest
DocumentId  INT
IDENTITY(1,1)
NOT NULL
PRIMARY KEY,
AddDate datetime
NOT NULL,
Name nvarchar(50)
NOT NULL,
Extension nvarchar(10)
NOT NULL,
Description nvarchar(1000)
NULL,
FileStream_Id UNIQUEIDENTIFIER
ROWGUIDCOL NOT
NULL UNIQUE DEFAULT
NEWSEQUENTIALID(),
FileSource varbinary(MAX)
FILESTREAM DEFAULT(0x)
go
--Add default add date for document   
ALTER
TABLE dbo.DocumentFilesTest
ADD CONSTRAINT
DF_DocumentFilesTest_AddDate
DEFAULT sysdatetime()
FOR AddDate
EXEC
sp_fulltext_database
'enable'
GO
IF
NOT EXISTS
(SELECT
TOP 1 1 FROM sys.fulltext_catalogs
WHERE name
= 'Ducuments_Catalog_test')
BEGIN
EXEC sp_fulltext_catalog
'Ducuments_Catalog_test',
'create',
'D:\SQL\PDFBlob';
END
--EXEC sp_fulltext_catalog 'Ducuments_Catalog_test', 'drop'
DECLARE
@indexName nvarchar(255)
= (SELECT
Top 1 i.Name
from sys.indexes
i
Join sys.tables
t on 
i.object_id
= t.object_id
WHERE t.Name
= 'DocumentFilesTest'
AND i.type_desc
= 'CLUSTERED')
PRINT @indexName
EXEC
sp_fulltext_table
'DocumentFilesTest',
'create',
'Ducuments_Catalog_test', 
@indexName
EXEC
sp_fulltext_column
'DocumentFilesTest',
'FileSource',
'add', 0,
'Extension'
EXEC
sp_fulltext_table
'DocumentFilesTest',
'activate'
EXEC
sp_fulltext_catalog
'Ducuments_Catalog_test',
'start_full'
ALTER
FULLTEXT INDEX
ON [dbo].[DocumentFilesTest]
ENABLE
ALTER
FULLTEXT INDEX
ON [dbo].[DocumentFilesTest]
SET CHANGE_TRACKING
= AUTO
ALTER
FULLTEXT CATALOG
Ducuments_Catalog_test REBUILD
WITH ACCENT_SENSITIVITY=OFF;
INSERT
INTO DocumentFilesTest(Extension,
Name,
FileSource)
SELECT
 'pdf'
'BOL12006553.pdf'
* FROM
OPENROWSET(BULK
'd:\SQL\PDFBlob\BOL12006553.pdf',
SINGLE_BLOB)
AS BLOB;
GO
INSERT
INTO DocumentFilesTest(Extension,
Name,
FileSource)
SELECT
 'docx'
'test.docx'
* FROM
OPENROWSET(BULK
'd:\SQL\PDFBlob\test.docx',
SINGLE_BLOB)
AS Document;
GO
SELECT
d.*
FROM dbo.DocumentFilesTest
d WHERE
Contains(d.FileSource,
'BILL')
Returns nothing. it should come from PDF file
SELECT
d.*
FROM dbo.DocumentFilesTest
d WHERE
Contains(d.FileSource,
'TEST')
Returns from word document as follows:
2           2014-06-04 10:11:41.393            test.docx docx           
NULL   [BINARY Value]  [Binary Value]
Any help is appreciated. Its been a long wait.
Thanks,
Vel
Vel Thavasi

Hello,
Did you check the fulltext log files for more details about the errors. If the filter isn’t working, there should be errors in the error log file.
The following thread is about similar issue, please refer to:
http://social.msdn.microsoft.com/forums/sqlserver/en-US/69535dbc-c7ef-402d-a347-d3d3e4860d72/sql-server-2008-64bit-fulltext-indexing-pdf-not-working-cant-find-ifilter
Regards,
Fanny Liu
If you have any feedback on our support, please click here.
Fanny Liu
TechNet Community Support

Similar Messages

  • Full-Text Search has not worked since we upgraded to 2012

    I have a filestream database and table. Our full-text searches have always worked until we upgraded to SQL 2012 in December.  Now, no file that has been uploaded since December is searchable.  What has gone wrong here.  It should have been
    a clean upgrade.  We are not getting any error messages.  We are just not getting any records returned when we search on a word that we know are in the documents we've uploaded since December (for instance, the word 'aluminum'). 
    Filestream is enabled for the instance.
    A full-text catalog exists and contains a full-text index (the same one we've always had).  Full-text indexing is ENABLED.
    I've tried rebuilding the catalog and the index.  I've tried to do a FULL POPULATION on the table.
    We haven't changed our queries nor the way the files are uploaded.
    Nothing works.  I have been a database administrator since the SQL 2005 days and I have never seen anything like this.
    Please help.

    Hi GINGER PIERCE,
    Since the issue regards SQL Server Search. I will help you post the question in the related forums. It is appropriate and more experts will assist you.
    According to your description, in theory , if you can do a full-text search for SQL Server 2008, when upgrading the SQL Server version from 2008 to 2012, the Full text indexing feature should be run well in SQL Server 2012 databases. If not , you can try
    to restore your database from SQL Server 2008 to SQL Server 2012, create an new Full-Text Catalog and Index on the table or view in the database, and then use Full Text Index to search words, phrases and multiple forms of word or phrase via FREETEXT() and
    CANTAINS() with “and” or “or” operators.  check if it is normal that the full-text search feature is enabled in the SQL Server 2012 instance. For more information , see:
    Full Text Search step by step in SQL Server 2012.
    Note:  In SQL Server 2012 SP1 , the server will report that Full Text Search is not supported in this edition of SQL Server when it clearly is. The workaround is to create the initial catalog by using a T-SQL query:
    CREATE FULLTEXT CATALOG  
    In addition, since it is a fileStream database, we need to verify if you do Full Text Searches on documents in FileTables, if yes, you should enable FileStream database for your SQL Server, and enable FileTable options for the database. For more information,
    see:
    Full Text Searches on Documents in FileTables.
    Regards,
    Sofiya Li
    If you have any feedback on our support, please click here.
    Sofiya Li
    TechNet Community Support

  • How to get PDF iFilter to recognize "pdf" document_type instead of ".pdf" in SQL Server 2012

    Hi,
    If this isn't the correct forum for this question, I apologize.
    I am running SQL Server 2012 on a Windows 7 Pro (64-bit) laptop and wish to be able to perform Full-Text searches against the contents of PDF files that have been loaded into my database using a FileTable. I have not been able to get the PDF iFilter v11.0 working whatsoever so I uninstalled it and installed v9.0 of the Adobe PDF iFilter.  I have confirmed that this filtering works on PDF documents I've inserted into a regular table and specified the file_type as '.pdf'.  However, when SQL Server loads the documents into a FileTable, the filter_type is set to 'pdf' (note: the period is not included -- ".pdf").  When I issue the ALTER FULLTEXT INDEX <tablename> START FULL POPULATION, no indexing occurs against the FILETABLE.
    I've examined the Full-Text Search crawl log and there are no errors occurring. Simply messages stating the population is starting and then completed.
    I've searched the forums here and elsewhere and haven't been able to find a work-around for this.
    Is there any way to get the PDF iFilter to recognize the 'pdf' filter_type in addition to the '.pdf' filter_type?
    Any suggestions would be greatly appreciated.
    Thank you,
    Steve

    Hi Steve,
    These links might e helpful:
    https://dotnettim.wordpress.com/2010/12/02/sql-server-full-text-indexing-using-adobe-pdf-i filter-9-sql-server-2008-r2-64bit/
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/69535dbc-c7ef-402d-a347-d3d3e4860 d72/sql-server-2008-64bit-fulltext-indexing-pdf-not-working-cant-find-ifilter?forum=sqldat abaseengine
    Regards,
    Rave

  • Text to speech not working with characters such as quotes? Any ideas

    text to speech not working with characters such as quotes? Any ideas

    Hi linz-kirby
    I posted this (link) https://discussions.apple.com/message/27015600?ac_cid=op123456#27015600

  • Bug: Text Search is not working for Excel spreadsheets

    Hi,
    We have published several Excel, Word and PowerPoint file items to our portal application content area.
    However, The intermedia text search is not returning the excel files - it is working on other file formats though!
    I have even tried directly issueing select from sqlplus. eg.,:
    select name,filename from wwv_document$ where name like '%.XLS'
    AND CONTAINS(BLOB_CONTENT,'network')>0;
    Result>> No rows selected.
    We are using Portal3.0.9 and 8.1.7 DB.
    Thanks in advance!
    Ram

    Firstly, are you syncronizing your indexes. Newly added content is not searchable until the indexes have been synced. See the Portal configuration guide for how to do this.
    Are your Excel files being indexed successfull? After indexing, are there any entries for the WWSBR_DOC_CTX_INDX in the ctx_user_index_errors view. You should be able to join via the rowid to the wwdoc_document$ table to see which docs are failing if any are.

  • Yahoo music search bar not working with Firefox 5

    Yahoo music search bar not working with Firefox 5.

    go to Help Menu -> select "Restart with Add-ons Disabled"
    Firefox will close then it will open up with just basic Firefox. Now do this:
    -> Update ALL your Firefox Plug-ins https://www.mozilla.com/en-US/plugincheck/
    -> go to View Menu -> Zoom -> click "Reset"
    -> go to View Menu -> Page Style -> select "Basic Page Style"
    -> go to View Menu -> Toolbars -> unselect "Yahoo! Music Search Bar"
    -> go Tools Menu -> Clear Recent History -> ''Time range to clear: '''select EVERYTHING''''' -> click Details (small arrow) button -> place Checkmarks on ALL Options -> click "Clear Now"
    -> go to Tools Menu -> Options -> General -> ''When Firefox starts : '''select "Show My Home Page"''''' -> Type the address of the website which you want to be your HomePage e.g. http:www.google.com -> click OK
    -> go to Tools Menu -> Options -> Privacy -> History section -> ''Firefox will: '''select "Use custom settings for history"''''' -> PLACE CHECKMARKS on:
    1) Remember my Browsing History
    2) Remember Download History
    3) Remember Search History
    4) Accept Cookies from sites -> select "Exceptions..." button -> Click "Remove All Sites" at the bottom of "Exception - Cookies" window
    4a) Accept Third-party Cookies -> under "Keep Until" select "They Expire"
    -> REMOVE CHECKMARK from Last Option (CLEAR HISTORY WHEN FIREFOX CLOSES)
    -> click the Favicon (small drop down menu icon) on Firefox SearchBar (its position is on the Right side of the Address Bar) -> click "Manage Search Engines" -> select "Yahoo! Music Search Bar" and other unwanted search engines and click Remove -> click OK
    -> go to Tools Menu -> Add-ons -> Extensions section -> REMOVE "Yahoo! Music Search Bar extension" (add-on) and other Unwanted/Suspicious Extensions (Add-ons) -> Restart Firefox
    You can enable your Known & Trustworthy Add-ons later. Check and tell if its working.

  • Has anyone not working with .dv files had synchronization problems?

    Has anyone not working with .dv files had sound synchronization problems? I'm not exactly sure what the alternatives to DV are, but I think one of them is HD.
    The reason for asking this question is to help isolate the nature and cause of a very serious flaw in iMovie '11. In the original release of iMovie '11 (version 9.0) there was a small--but serious--synchronization problem. In the 9.01 there is a large synchronization problem. We know of one person who has not experienced the problem, and he is not working with DV files (media). So we want to find out if anyone who is using something other than .dv files is experiencing a lack of synchronization between sound and picture. Knowing the answer to this will help with figuring out where the cause lies. For the initial iMovie '11 release (9.0), you probably would not notice a problem unless you had very long event-clips, e.g., two hours long. Events get this long if you are transferring from analog 8 mm tapes. Even then, it would have to be in scenes in which the connection between event and sound is obvious, e.g., close ups of people talking. It isn't until the 9.01 release that most people would notice anything. All we need to do is establish one case of a synchronization problem in which the person is using something other than DV.
    Message was edited by: Paul Bullen

    Hopefully, the 9.0.2 release will make my question moot. Zyfert must have posted the announcement of the release just as I was formulating my question. Still, if you have information on the subject, it would be interesting to hear.

  • Adobe reader not associating with pdf files

    i've installed adobe reader X after reinstalling windows, but reader is not associating with pdf files and also not showing in "open with.." list, even after browsing and try to associate it manually it's not visible in recommended program list and in other program list. to open pdf files i've to open adobe reader and then open files.

    Please use the "Adobe Reader and Acrobat Cleaner Tool" from http://labs.adobe.com/downloads/acrobatcleaner.html and remove any traces of Adobe Reader already on your system.
    Post successfully removing the application, please re-install Adobe Reader from: http://get.adobe.com/reader
    Hope this helps
    Ankit

  • Quicklook does not work with WMV files and quick look no longer maintains resized views when viewing from a folder using the up/down arrows

    Quicklook does not work with WMV files and quick look no longer maintains resized views when viewing from a folder using the up/down arrows. Any fixes?

    Same problem here...

  • Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection

    "[DBNETLIB] Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection"
    After patches applied on patch Tuesday the database reports the above error. 
    All accounts are domain accounts and SQLServer uses Windows auth.
    DCDIAG show no errors
    All servers and DC have been restarted,
    Message in db log confirms the connection is being denied due to trust.
    Event log shows same rejection
    Protocols enabled: named pipes, tcpip, memory
    TESTS:
    PortQry: "
    TCP port 1433 (ms-sql-s service): LISTENING"
    Connect with domain admin accounts works from multiple clients systems to DB.
    Cannot connect with newly created domain admin account
    Can connect if new admin account connect to server in terminal server session and uses UDL wizard or any other tool including isql.
    New standard user also fails to connect.
    NOTES:
    I removed the SSL patch and the IE security update to see if that was an issue.
    ¯\_(ツ)_/¯

    Has someone left the company or has an account of some nature been dropped/replaced?
    Please click "Mark As Answer" if my post helped. Tony C.
    Hi Tony,
    Srry but No.  We just installed the monthly updates.
    I went back and found I had missed removing a patch.  I missed the rollup for Windows Server 2003:
    Event Type: Information
    Event Source: NtServicePack
    Event Category: None
    Event ID: 4382
    Date:  3/12/2015
    Time:  12:26:04 PM
    User:  NETTEST\admin
    Computer: DATA1
    Description:
    Windows Server 2003 KB954920 was removed from your computer, and the previous Windows Server 2003 configuration was restored.
    After I removed that is still didn't work but after about five minutes it started working.
    I guess I ned to report that to MS after I research what might be changed to make the patch work.
    Every time I get stuck and ask for help it seems to be just before I stumble on the solution.
    Thanks for replying.
    Well - maybe this will help someone else.
    Thanks again for replying Tony
    ¯\_(ツ)_/¯

  • Will the reports developed in sql server 2008 r2 BIDS work when deployed on sql server 2012 reporting manager

    Will the reports developed in sql server 2008 r2 BIDS work when deployed on sql server 2012 reporting manager?
    when I check on Microsoft site it says
    Reports are not upgraded when you upload a report definition file directly to the report server
    or SharePoint site. Upgrading a report definition in SQL Server Data Tools is the only way to upgrade the .rdl file.
    When you open an .rdl file in Report Designer in SQL Server Data Tools (SSDT), if the report was
    created for a previous namespace, Report Designer automatically creates a backup file and upgrades the report to the current namespace.
    This is the only way you can upgrade a report definition file.
    Now here is another confusing statement which says
    You can upload an .rdl file created in an earlier version of Reporting Services to a SQL Server
    2012 report server and it is automatically upgraded on first use. The report server stores the report definition file in the original format. The report is automatically upgraded the first time it is viewed, but the stored report definition file remains
    unchanged.
    All I want to know is if I deploy a rdl made in 2008 r2 to 2012 will it work on the report manager of
    2012?
    <o:p>
    </o:p>
    Mudassar

    I have tested this fucntionality and can confirm that ssrs 2008 r2 reports work when you deploy them on new ssrs 2012 report manager .
    No Migration is required .
    I didnt even moved report server dbs .All I did is just deployed reports on the report manager and it worked .
    "You
    can upload an .rdl file created in an earlier version of Reporting Services to a SQL Server 2012 report server and it is automatically upgraded on first use. "
    Microsoft needs to correct this the documentation is misleading
    Mudassar

  • Captivate 4 AS2 Text Entry Box not working with Flash Player 11

    I am having issues with text entry boxes not working at all in flash 11. I am using Captivate 4 and exporting an AS2 swf. When you get to the slide you can type but you cannot see anything nor does the button or keystroke to move on. Also there is no cursor. Any ideas?

    You said it is not working with Flash 11, so does that mean you tested with previous version and that worked?
    While publishing choose Flash player as 9 and publish that, verify if that plays in a compatible web browser.
    AS 2 is a legacy scripting, it has been said not too be supported with even Flash Player 10 --
    http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=Part2_AS2_LangRef_1.html
    I believe if you switch back to version 9 while publish your project, it should work.
    Thanks,
    Anjaneai

  • Spotlight Search is not working with Lion

    I was on 10.6.5 and installed Lion.
    Spotlight searching is not working at all now. I have tried everything in the Spotlight preferences Confidentiality, selecting my hard disk and exclusding it quitting putting it back.
    I waited 3 days to be sure it was not because indexing is not finished.
    I don't know what I can try now..
    I have Time Machine I tried Mac OSX Combo 10,7.3.

    Try this, lauch Terminal and at the prompt copy & paste
    sudo mdutil -i off /
    Press return.
    You'll be prompted for you password, it will be invisible
    Then copy & paste this command
    sudo rm -rf /.Spotlight-V100
    Press return and finally
    sudo mdutil -i on /
    Press return

  • Working with .pdf files and JAVA

    Hi,
    does anyone have an answer to how I can find more information on .pdf files?
    I would like to convert .pdf files to textfiles and/or xml files. I can not find it in the j2se Edition, and someone told me it can be found in the j2ee edition, but I can not find anything there either. Please help..
    thanks,
    R.

    thanks for your reply. What tools do you mean? I know lots of tools for converting text to a .pdf file, but no tools for the other direction. There is an API available (commercial), that lets you work with PDF in JAVA, but i am interesting in the other possibilities.
    Regards

  • Validation Event Handler Not working with Flat File GTC Trusted Recon

    We are created Event Handler for checking special characters in Telephone field.Its working fine when the user is created through Admin Console.but the event handler is not triggering while doing GTC Flat File Trusted recon.
    Version: OIM 11.1.1.5.0
    Can someone please help me out with this.
    Thanks
    Edited by: 790561 on 17-Feb-2013 09:01
    Edited by: 790561 on Feb 17, 2013 9:35 PM
    Edited by: 790561 on Feb 18, 2013 12:38 AM

    Validation Event handlers will not work with your trusted recon. You can use the GTC Validation provider, it is nothing but the plugins which you can insert with in your source field in GTC. I think you can easily get the steps for how to create a custom GTC Providers.
    Edited by: iam37 on Feb 16, 2013 4:09 PM

Maybe you are looking for

  • Url line in PDF using CONVERT_OTF

    Hi Gurus, Is it possible give a url link to one of column in the main data in the pdf converted file using COVERT_OTF. Ex I have converted the invoice to pdf file using convert_otf and when the user open pdf file, there should be link in the one of c

  • WBS Element creation and link to SD process

    Hi, I am involved in aproject, where they sell services. In this scenario, please help me understand the WBS role and linkage to SD processes. I was trying to create a contract, wherein it prompts to create a new WBS. I like to create new WBS element

  • Where to find the detailed log for  Repository/Directory

    Hi all, I have configured some configuration objects both in Integration Repository and Directory. But facing some problems like activating the changes, partially missing configuration etc. For such problems, where we can find the logs to analyze the

  • Insufficient Privilage?

    Hi all, I have some questions regarding the system privilege. Also I would like to thank you for your help in advance. In environment 1, I have a Win2k Sever and a Oracle 9i. I put my NT login under the DBA group in NT security. However, I still cann

  • Execute an sql proc with Java

    Hi all Could anybody tell me how can I exec an sql proc with Java? Thank you very much Regards chkmja My Java code and SQL proc look like below. Java code m_connection.createStatement().execute("exec MSG_SNAPSHOT()"); sql Proc CREATE OR REPLACE PROCE