[email protected]
[Top] [All Lists]

Re: Storing image with Lucene

Subject: Re: Storing image with Lucene
From: Anshum
Date: Thu, 3 Dec 2009 08:14:18 +0530
Lucene supports string/int literals for indexing and searching. In other
words, anything that can be transformed into a string/int can be consumed by
the lucene api. Moreover, so are you trying to implement an image search? In
that case perhaps you'd have to either figure out a transform else try
something else.
If it is mere storage of an image in lucene (for a particular doc, to be
fetched) you may as well do what is done by other similar engines behind the
scenes e.g. for blob objects. Just store a path/link to the actual image
instead of image in the index and fetch it at runtime (in the wrapper code).

Anshum Gupta
Naukri Labs!

The facts expressed here belong to everybody, the opinions to me. The
distinction is yours to draw............

On Thu, Dec 3, 2009 at 8:02 AM, blazingwolf7 <[email protected]> wrote:

> Hi,
> As per title...is it possible to store image using Lucene? And if its
> possible...how can I do that?
> Thanks
> --
> View this message in context:
> http://old.nabble.com/Storing-image-with-Lucene-tp26620107p26620107.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
<Prev in Thread] Current Thread [Next in Thread>