Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Indexing PDF in Eclipse Help
Indexing PDF in Eclipse Help [message #624106] Sat, 17 April 2010 00:25 Go to next message
Jörn Guy  Süß is currently offline Jörn Guy Süß
Messages: 83
Registered: July 2009
Location: Germany
Member

Hi!
I have a bucket of PDF files that make up help content. I would like to allow my users access to the via Eclipses built-in search. What do I have to do to include the PDFs? I have already listed the directory in the 'extradir' key of my org.eclipse.help.toc extension point. - No effect. Do I have to plug a PDF adapter into the search engine?

org.eclipse.help.base.luceneAnalyzer ?
org.eclipse.help.base.luceneSearchParticipants ?

Are there default implementations for PDF or boilerplates? Surely this must be a common case!
Ciao²
JGS
Re: Indexing PDF in Eclipse Help [message #624123 is a reply to message #624106] Fri, 23 April 2010 17:42 Go to previous message
Chris Goldthorpe is currently offline Chris Goldthorpe
Messages: 815
Registered: July 2009
Senior Member
The extension point you want to use if you are using Eclipse 3.6 is org.eclipse.help.base.searchParticipant. For Eclipse 3.5 and earlier it would be org.eclipse.help.base.luceneSearchParticipant. Either of these will allow you to write your own code to add documents to the search index. searchOParticipant is preferred because it does not have any dependencies on classes in Lucene.
Previous Topic:Looking for foster parent for Pdf2Toc tool
Next Topic:Context Sensitive Help Problems
Goto Forum:
  


Current Time: Fri Aug 01 03:57:20 EDT 2014

Powered by FUDForum. Page generated in 0.04404 seconds