lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Rowe <>
Subject Re: query for search through lucene for BLOB
Date Wed, 12 Jul 2006 14:21:19 GMT
Hi Sudarshan,

When your question is Java usage related, you will almost certainly get 
better responses by asking just on the Java User list.  Oddly enough, 
hitting all of the mailing lists for the project at once with the same 
question is likely to *reduce* your chances of getting polite/on-topic 

To index PDF files, you need to first extract their content, and Lucene 
does not do this for you.  Here is the Lucene FAQ entry on the topic:


Chapter 7 of the excellent book Lucene in Action 
<> also covers this topic.

Once you have extracted the text for a document, you'll want to store a 
key for the document in a separate field in your Lucene index.  Then 
when you have hits from a search, you'll be able to use the DB key to 
retrieve the PDF blob from Oracle, then maybe save the it to a temp file 
and start Adobe Reader to display the doc(s).  Or something like that.


sudarshan angirash wrote:
> hi all
> i have some PDF files stored in Oracle 9i as BLOB.
> now i want to search for a string in those pdf files using Lucene. then i
> want to show the selected PDF files which contains The String.
> if you can give me any pointers about how to do it, then it will be a gr8
> help for me.
> regards
> sudarshan

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message