Adobe Reader XI & iFilter indexing

In Adobe Reader X they removed the ability to do iFilter indexing from the Windows Indexing services of PDF files.  To get around this you had to install Adobe Reader 9.x on 32bit systems or the iFilter 9 on 64bit systems.
Does anyone know if Adobe Reader XI follows the same stance of not exposing its iFilters to the Windows Indexing service?  I've done some searching but this answer does not seem to exist yet where I can find it.

There is an excellent article on working with IFilters in C#: Implementing a TextReader to extract various files contents using IFilter - CodeProject
As Adobe Reader XI IFilter doesn't support IPersistFile.Load(..) anymore because of Microsoft's requirement for IFilters to work with stream data instead of file data, it's a problem for custom file search engines like those built using Lucene.net.
The main point here is that you need to use IPersistStream for Adobe PDF IFilter 11.x instead of IPersistStore.
Here's a relevant discussion on the related topic at StackOverflow:
http://stackoverflow.com/questions/7313828/using-ifilter-in-c-sharp-and-retrieving-file-fr om-database-rather-than-file-syst[^]
I've used these two sets of recommendations to re-write the way how IFilter is obtained for PDF files. Obviously this solution isn't the best one (one could just provide bytes to FilterLoader instead), but at least it works (and doesn't break the logic).
There is also no check if filter is Adobe's or not, but such check should be done, as other PDF IFilters might not support IPersistStream. One should also check for its version (e.g., Adobe PDF IFilter 9.x supports IPersistFile w/o any problems).
Here's the updated code:
public static IFilter LoadIFilterFromIPersistFile(string path, string extension)
  var fileExt = System.IO.Path.GetExtension(path);
   // Obtaining IFilter first
IFilter filter = LoadIFilter(extension);
  if (null == filter) return null;  
// Custom case for PDF
if (fileExt == ".pdf")
  // read file first
using (var s = new FileStream(path, FileMode.Open))
  // Copy the content to global memory
byte[] buffer = new byte[s.Length];
  s.Read(buffer, 0, buffer.Length);
  IntPtr nativePtr = Marshal.AllocHGlobal(buffer.Length);
  Marshal.Copy(buffer, 0, nativePtr, buffer.Length);
   // Create a COM stream
System.Runtime.InteropServices.ComTypes.IStream comStream;
  CreateStreamOnHGlobal(nativePtr, true, out comStream);
   // Load the contents to the iFilter using IPersistStream interface
var persistStream = (IPersistStream)filter; // similar to persistFile case
if (null == persistStream)
  throw new Exception("IPersistStream is not implemented by the current interface");
  // loading
persistStream.Load(comStream);  
  return InitIFilterForPdf(filter);
  else
  var persistFile = (filter as IPersistFile);
  if (null == persistFile)
  throw new Exception("IPersistFile is not implemented by the current interface");
  persistFile.Load(path, 0);
return InitIFilter(filter);

Similar Messages

  • Adobe Reader X and Indexing Service - pdf content not searchable

    Install Adobe Reader X on a Windows 2003 machine with Indexing Service installed. Create a catalog (folder) and point indexing service at it so that documents are indexed. Verify indexing is working with a simple text file. New copy a pdf file into the folder. You will see in Computer Management the file appear to be indexed. Now simply query the catalog - the file contents are not indexed. The iFilter that gets installed should allow indexing service to index pdf file contents and return search results when the catalog is queried.

    Hi MT.Freelance
    The way that "Welcome Pages" are done in Acrobat X has changed from Acrobat 9, what you are seeing looks like a bug related to these changes.
    If you would like to log a bug on this issue the form for bug reports can be found here  https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&promoid=E WQQL
    Thanks,
    Josh

  • Help!- problems with Adobe reader v9 ifilter and sqlserver2005

    Hello,
    I am trying to implement search of pdf in binary column in sqlserver2005 using Adobe ifilter.
    I installed full version of Adobe reader v9 which has its own Ifilter on my server (runs on 32bit)
    I have done the following based on what i read on the internet:
    The environment variable path has an entry for Adobe reader the following:D:\Program Files\Adobe\Reader 9.0\Reader
    exec sp_fulltext_service 'load_os_resources', 1;
    exec sp_fulltext_service 'verify_signature', 0;
    Restarted services SQLserver and MSFTESQL
    The issue is upon installation, sqlserver wasn't showing the doc type 'pdf' so I registered the dll but the sys.fulltext_document_type is showing this path instead and I can't update system tables in sqlserver2005.
    Also when I carry out a search based on my Fulltext setup, it returns 0 rows.
    select        
    document_type, path from sys.fulltext_document_types where document_type = '.pdf'
    document_type               Path
    .pdf                                c:\program Files\Microsoft SQL Server\MSSQL.3\MSSQL\Binn\AcrodIF.dll
    Please what can I do to correct things and make it possible to carry out my pdf search
    THANKS!!!!

    I have resolved this myself as follows:
    I deleted the pdf document type entry from table sys.fulltext_document_types
    At the command prompt, in the directory where Acrobat reader is installed which was on my server D drive path:
           d:\program Files\Microsoft SQL Server\MSSQL.3\MSSQL\Binn\ and REGISTERED the ifilter dll - AcrodIF.dll
    exec sp_fulltext_service 'load_os_resources', 1;
    exec sp_fulltext_service 'verify_signature', 0;
    Restarted MSFTESQL service
      This resolved the problem and all these searches work:
    select * from tablename where freetext(*, 'searchword')
    select * from tablename where contains(*, 'searchword')
    Search phase also work:
    select * from tablename where freetext(*, '*search phrase*')
    select * from tablename where contains(*, '*search phrase*')

  • How to run the indexing pdf in adobe reader 11

    Hi All,
    i have created indexing files for some pdf, while searching in adobe reader 10.
    it works fine, but in reader 11 not working.
    Regards,
    Vinoth

    Hi Shakthi,
    Please find the below link
    http://forums.adobe.com/thread/1083659?tstart=0
    Please let me know if you requried more details.
    Regards,
    Vinoth

  • PDX index works in adobe reader 9.4 but not in adobe X !!

    Hello I have some commercial genealogy DVD's, bought a few years ago, with PDX files on them that work fine with adobe reader  9.4  but not in  adobe reader X.   Adobe reader X says they are invalid PDX index files. Ofcourse adobe says that version X is Backward compatible and I must contact the vendor of my dvd's !!!.
    Does anybody else has this problem ?
    I do not have the pro version so I cannot rebuild the indexes myself.
    Hans
    PS for now I have removed version 10 and re-installed version 9.4
    Windows XP SP3

    Reply found here:
    http://forums.adobe.com/message/3522477#3522477
    "Adobe Reader X doesn't support search catalogs created with Acrobat 5 or earlier.
        You may try Adobe Reader 9 or create new catalogs with Acrobat X Pro."
    I actually contacted my vendor and he is sending me a new disk free of charge . He told me he had to destroy his whole stock of cd's that contains old pdx files.

  • Searching an Index:  Adobe Reader 8.1 has encountered a problem - Crash

    We've just upgrade to Adobe Reader 8.1.2 here and now whenever we "Use Advanced Search Options","Look in", "Select Index", and search for words, Reader crashes.
    This has been reproduced on multiple PC's running Reader 8.1.2.
    Error Signature:
    AppName: acrord32.exe AppVer: 8.1.0.137 ModName: msvcr80.dll
    ModVer: 8.0.50727.163 Offset: 0000892c
    Has anyone run into this problem and know a solution?
    Pat~

    I have the same issue. It did not happen with previous versions. I am using WinXP.

  • Adobe Reader X refuses to install - indexing service filter daemon

    I have closed all applications, but Adobe Reader X refuses to install, saying that something called "indexing service filter daemon" is open.  How do I get around this?

    This is how I got around this install issue:
    During install with the Indexing Service Filter Daemon message still open;
    1) right click on My Computer
    2) select Manage
    3) double click Services and Applications
    4) right click Indexing Service
    5) select pause
    6) in the Adobe X install message window, select Retry
    It will have you reboot after install and it should automatically restart the service that you just paused.  If not, repeat the steps and select Start instead of Pause.
    Hope that helps.

  • Index - Can it be accessed/used with Adobe Reader?

    I've created an Index for a series of PDFs using the Index feature in Adobe Acrobat Pro X.
    When someone else opens these PDFs with just the Adobe Reader, can they access/use this Index?
    Thank you for your time.
    C

    Thankyou for your response Bernd.
    [email protected]
    On Fri, Apr 24, 2015 at 11:27 AM, Bernd Alheit <[email protected]>

  • I am looking for a way to automate index creation using Adobe Reader Pro without having to use the screen user interface, as the indexing has to be run by a batch process.

    I am looking for a way to automate index creation using Adobe Reader Pro without having to use the screen user interface, as the indexing has to be run by a batch process.

    [discussion moved to Creating, Editing & Exporting PDFs forum.]

  • Anzeigefehler beim Adobe Reader 10.1.4 und bei Adobe Reader 11 aktuellste Version

    Hallo zusammen,
    wir haben bei einem PC das Problem, das der Adobe Reader Anzeigefehler hat. Die Menüleiste mit Datei, Bearbeiten, usw. wird nicht angezeigt, genauso wie die Leiste, wo man das Fenster minimieren, maximieren und schließen kann.
    Auf dem Screenshot ist der Fehler auch gut zu erkennen. Der Screenshot stammt aus der Version 10.1.4. Wir haben bereits sämtliche Versionen ausprobiert ohne Erfolg. Ich habe nach der Deinstallation aller Adobe Produkte (Flashplayer und PDF iFilter) die Adobe Ordner aus C:\Programme, C:\ProgramData, C:\Benutzer\XXXX\Appdata\Roaming, Locallow sowie Local gelöscht und anschließend neuinstalliert. Als Administrator wird alles einwandfrei angezeigt. Ich habe auch auf das Verzeichnis in C:\Programme\Adobe dem Benutzer Vollzugriff gegeben, hat auch nichts gebracht.
    Es handelt sich um einen Windows 7 Professional 64bit Rechner, der komplett neu ist und gerade installiert wurde.
    English Version:
    Hi there,
    we have the problem that the Adobe Reader has display error on a PC. The menu bar with File, Edit, etc is not displayed, as is the bar where you can minimize, maximize and close the window.
    On the screenshot of the error is also easy to recognize. The screenshot is from version 10.1.4. We have already tried all the versions without success. I have after uninstalling all Adobe products (Flash and PDF iFilter) the Adobe folder from C:\Program Files, C:\ProgramData, C:\Users\XXXX\Appdata\Roaming, LocalLow and Local and then reinstalled.As an administrator everything is displayed correctly. I also give the user full control on the path c:\program files\adobe, without success.
    It is a Windows 7 Professional 64bit computer, which is completely new and was just installed.
    Ich hoffe Ihr könnt uns weiterhelfen.
    I hope you can help us.
    Mit freundlichen Grüßen
    Domenic

    I want to geht this topic back. We've got the same problem with the Adobe Acrobat 9 Standard. The Windows 7 is installed completely new and full updated. There are only Office 2007 Small Business and Adobe Acrobat 9 Standard installed, no other software.
    In Adobe Acrobat 9 I didn't find the option "enable protected mode at startup". So here it isn't the solution.
    Here are some screenshots from the error.
    After that I installed the Adobe Reader X, but this it didn't have the error.
    I tested a repair installation, a completely new windows installation, but the error already there.
    I don't know how I can solve this problem.
    If you press F9, the windows control bar is showing.
    If you press F9 again, the menu bar is showing.
    But when you restart the software, you get the same problem.
    Edit: The last screenshot was wrong.

  • Open documents in same window (Adobe Reader 9)

    Dear forum,
    I would like to set up Adobe Reader 9, that it opens all documents in the same window. This is much easier to handle, when you have multiple documents opened.
    Does anybody know how to set up Adobe Reader 9 in this manner ?
    Thanks for your answers,
    Theklum

    This is the worst thing to happen to acrobat, in my opinion.
    The clutter that it creates on my computer and the fact that i cant even see the document title when I have a bunch of them open (because the task bar is too full) is unacceptable.
    I never would have changed from Acrobat 8 if I had known, and now I cant switch back (company license).
    The latest thing i can find about addressing it is here:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=kb405108&sliceId=1
    which was in november 2008....
    why hasnt any thing else been done about it?  I just spent 45 minutes being sent to different departments over the phone, only to be told to submit a feature request.
    Please do this if you havent already:
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • Search Server 2010 Express: Open a PDF document from list of search results invokes adobe reader client application with error

    Hi community,
    I set up search server 2010 express on a windows 2008 r2 server.
    The Adobe PDF iFilter 9 64 bit is installed and search is correctly configured to find PDF-files.
    When doing a search and clicking on a link of the result page, the PDF is not opened in the browser, instead the adobe reader XI client application (11.0.04) is invoked and an error raised like "could not open document .. check syntax of url..."
    Right click on a link to open in new tab works fine. And PDF-Files from other arbitrary Internet Sites opens in browser correctly. Moreover when configure Adobe Acrobat Pro 9 as default application on the client it also open in Browser correctly.
    I noticed googling the web there are several challenges when dealing with PDF-files in sharepoint. The following settings are made so far:
    1. In IE: Add-On to open PDF in Browser is enabled for all sites.
    2. Client Integration is enabled
    3. The OpenControl attribute in the DOCICON.xml is left empty OpenControl="" for the pdf entry.
    4. The Browser File Handling is set to "Permissive".
    Please feel free to ask for more information if needed.
    I appreciate any help on this. I don't know what to do further.
    Thanks in advance.

    Thanks for the reply.
    Before responding to your points I want to give a little more context:
    We have an intranet based on pure html and a little aspx containing many of those pdf- files. By clicking on the links in the intranet the files open correctly in browser handled by the adobe plugin. Now we set up this search server crawling the file system
    accessed through a share to the root folder of the intranet. In the search server settings a host mapping rule is applied to replace the file://[share] with http://[intranet host+domain+port] to access files over http.
    And now to answer your question. The resulting urls are the same, copying the link from intranet and copying the link from the search result (except some case issues).
    The event viewer not seem to show any errors on this, though I'm not very familiar using it.
    If any further information are from interest and any ideas come to your mind - please let me know.
    Thanks.

  • Workaround for Invalid Certificate with Acrobat 9.0 and Adobe Reader v.7.0?

    Hello!
    In Adobe Acrobat 9.0 Professional, is there currently a workaround for the following scenario?:
    At our company, the source document is created in Word and then a PDF document is created using Adobe v.9.0. My colleague, who uses Adobe 9.0 Professional, places a certificate in the Header of the PDF document.
    When this document goes out for sign off, the users only have Adobe Reader v. 7.0. Once these users open the PDF document and try to place their signature in to the digital signature fields, the certificate in the document becomes invalid.
    Is there a way to save off the PDF in v.9 in different formats (A, F, etc.).
    Would saving off the PDF in another format retain the validity of the certificate in the PDF document when other users with Reader v.7.0 try to sign the document?
    Thx again for everyone's help!
    Susan Steen

    Hi Steve,
    fwiw - at the Forums' entry http://forums.adobe.com/index.jspa
    there is this announcement.
    Announcement: File Attachments Temporarily Disabled
    Hide Details
    We have temporarily disabled the ability to upload files to the forums in order to protect our customers/users from a potential security issue. Thank you for your patience while we mitigate this issue.
    by adobe-admin at Feb 22, 2010 12:20 PM
    So a file attachment may not be an option (?).
    Be well...

  • How do i convert a pdf to a jpeg in adobe reader xi?

    how do i convert a pdf to a jpeg in adobe reader xi?
    thanks

    Hi wsfarnie
    You cannot convert a PDF to Jpeg using Adobe reader. Adobe Reader Allows you to open and Read PDF files only.
    To Convert a PDF to Jpeg , you need Adobe Acrobat ...
    Please download 30 days Trial of adobe acrobat from below link : http://www.adobe.com/cfusion/tdrc/index.cfm?product=acrobat_pro&loc=us

  • When on a job web site and you have to upload your resume apple needs to come up with a update so you can do so. When I try to upload my resume from my adobe  reader or iBooks it keeps on going to photos and won't upload from the adobe or iBooks.

    Please come up with an update that will allow people to upload their resume from iBooks or Adobe reader to the website of there choosing using safari. It only gives you the option to upload a photo a take a photo. The iPad or any tablet is going to take over as far as computers are concerned because it's easy to Cary with you and people like the fact of something a lot smaller to carry around then the laptop. Please help need this done like yesterday. Other then that all the apple products I have, has always been the best and they will outwork any windows based or android. You get what you pay for and apple is top dollar.

    Hello Wyodor,
    thanks for your reply on my question.
    You are wright the index file is 308 KB.
    And offcourse that I delete my files and documents is not an Iweb problem, but because my English is not that good, that I thougt I try to tell the whole story, and hope people can read trough the lines.
    Why I didn't use Iweb to upload to the server is because the server company recommanded to use file zilla. And I am a nobody with this kind of things, so I did exactly what they tell me to do.
    No, i did not make a backup of Iweb and the domain file, but reading other messages on this forum showed me that I can maybe try to make empty the cashfile (?)
    and otherwise I have bad luck and have to make my website again. Offcourse I have a lot of examples from all the pages (copied from the local map to my USB stick) and my website is aprox. 15 Mb, (not so big) so it will cost me a few nigths.
    But I'm still hoping on a miracle :-)
    greetings Lasource

Maybe you are looking for