lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Hansen <>
Subject How to modify a document Field before the document is indexed?
Date Mon, 19 Jul 2010 22:31:27 GMT
Hey All,

I am using Apache Lucene (2.9.1) and its fast and it works great! I
have a question in connection with Apache PDFBox.

The following command creates a Lucent Document from a PDF file:
Document document =

The Lucene Document, 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!


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

View raw message