lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <>
Subject Re: Using metadata of the requested files with Lucene
Date Thu, 02 Dec 2010 14:08:46 GMT
You need to store the data in the index (Field.Store.YES) and then you
can get it back by calling doc.get("fieldname").


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 properly,and when I search a keyword
> related to metada of documents I can get a result. However, I wanna get the
> metadata of some specific indexed document e.g. I'll send the part/filename
> to lucene, and it will return exact result including metadata of it. I
> couldn't figure out until now. Any help is appreciated. Thanks!
> --
> View this message in context:
> Sent from the Lucene - Java Users mailing list archive at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message