Re: Storing image with Lucene

2009-12-02 Thread blazingwolf7
ever) ? >> --Original Message-- >> From: Rao, Vaijanath >> To: java-user@lucene.apache.org >> ReplyTo: java-user@lucene.apache.org >> Subject: RE: Storing image with Lucene >> Sent: Dec 3, 2009 08:27 >> >> Hi, >> >> Yes you can, create a

Re: Storing image with Lucene

2009-12-02 Thread blazingwolf7
om: Rao, Vaijanath > To: java-user@lucene.apache.org > ReplyTo: java-user@lucene.apache.org > Subject: RE: Storing image with Lucene > Sent: Dec 3, 2009 08:27 > > Hi, > > Yes you can, create a binary field which you can use to store the image > in. > Field(String name,

Re: Storing image with Lucene

2009-12-02 Thread anshum.gu...@naukri.com
Hi Vaijanath, Just wanted to know if you can perform a search on the binary field (as I haven't tried this ever) ? --Original Message-- From: Rao, Vaijanath To: java-user@lucene.apache.org ReplyTo: java-user@lucene.apache.org Subject: RE: Storing image with Lucene Sent: Dec 3, 2009

Re: Storing image with Lucene

2009-12-02 Thread blazingwolf7
Thanks for the reply...yes i am trying to create an Image Search. And I did create something similar to your suggestion on only storing the links. But due to some limitations being set on me...I have to find a way to store the image.. Maybe I could try the transform idea. Anshum-2 wrote: > >

RE: Storing image with Lucene

2009-12-02 Thread Rao, Vaijanath
Hi, Yes you can, create a binary field which you can use to store the image in. Field(String name, Reader reader) Use this to store your image and use binaryValue() to get the image back. You can also look at storing the features of the image into the index in similar way. --Thanks and Regards

Re: Storing image with Lucene

2009-12-02 Thread Anshum
Hi, 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 t