RE: solution for parent-child relationship

2009-12-23 Thread Rao, Vaijanath
Hi Shahid, This is just one of the ways to get it. You can have an id to your post and comment for every post get's an subID so for example Post 1 get id 2566 and comment 1 in that post get id 2566-64. You can use various methods to get this ID. Then you can write your own Hit Collector in whic

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