An example would help. But assuming you've indexed the part or
filename (and that it's unique), just search for it. You should
only get a single document back and then IndexReader.doc(luceneID)
will get you the stored for that document.
You have to watch out for tokenization of file names (use Key
You need to store the data in the index (Field.Store.YES) and then you
can get it back by calling doc.get("fieldname").
--
Ian.
On Thu, Dec 2, 2010 at 1:34 PM, reis3k wrote:
>
> Hi All,
> I'm trying to write a small app, ebook organizer, using Lucene.
>
> I index metadata of various file types