Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Indexing PDF in Eclipse Help(Howto for indexing PDF file content in Eclipse help)
icon5.gif  Indexing PDF in Eclipse Help [message #527938] 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 #529350 is a reply to message #527938] Fri, 23 April 2010 17:42 Go to previous messageGo to next 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.
Re: Indexing PDF in Eclipse Help [message #899261 is a reply to message #527938] Tue, 31 July 2012 05:08 Go to previous message
Mao Lin is currently offline Mao Lin
Messages: 2
Registered: July 2012
Junior Member
Hi,
I have the same question: how to make the buit-in Lucene to index my PDF files? I know that there should be a parser to parse PDF to extract text for building index, but I am not sure whether we should code myself to do that or I can just somehow deploy a plug-in for that purpose?

Any one, any idea please?
Previous Topic:RAP 1.5 Eclipse HelpSystem Problem
Next Topic:Add pdf files to search index
Goto Forum:
  


Current Time: Fri Jul 25 05:18:08 EDT 2014

Powered by FUDForum. Page generated in 0.02058 seconds