Look at this example:

Developers Guide > Cookbook > Dealing with Forms > SetField

On Jul 19, 2010, at 6:38 PM, Joe Hansen wrote:

Hey All,

I am using Apache Lucene (2.9.1) with PDFBox 0.8.0. The combination
works really great for our website.

I use the following command to create Lucent Document from a PDF file:
Document document =
org
.apache
.pdfbox.searchengine.lucene.LucenePDFDocument.getDocument(docFile);

Now, document, has a bunch of fields. Among those fields, is a field
named, "content". I need to add some more data to that field. For
example, I would like to add some description and keywords. How do I
go about doing that? Any pointers would be greatly welcome! :)

Thanks for your time!

Regards,
Joe

Reply via email to