lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Ritchie" <>
Subject RE: Highlighting PDF file after the search
Date Mon, 20 Sep 2004 22:35:08 GMT
> From: 

> I can successfully index and search the PDF documents, 
> however i am not able to highlight the searched text in my 
> original PDF file (ie: like dtSearch highlights on original file)
> I took a look at the highlighter in sandbox, compiled it and 
> have it ready.  I am wondering if this highlighter is for 
> highlighting indexed documents or can it be used for PDF 
> Files as is !  Please enlighten !

The highlighter code in sandbox can facilitate highlighting of text
*extracted* from the PDF, however it does nothing for you to highlight
search terms *inside* of the PDF. For that you will need some sort of tool
that can modify the PDF on the fly as the user views it. I know of no quick
and dirty tool that allows you to do this, though there is quite a few
projects and products which allow you to manipulate PDF files which likely
can be used to obtain the behavior you are looking for (with some effort on
your part).


Bruce Ritchie

View raw message