Hi I think you might want to look at Hibernate Search. You can use projections which basically store instance fields in the index. It does not store the object in a serialised form in the index. It holds a reference (id) to the persistant entity.
Cheers Amin On Sat, Jul 4, 2009 at 2:39 AM, Erick Erickson <erickerick...@gmail.com>wrote: > Hmmmm. I'm having trouble understanding what you want > to accomplish and why you think storing a java object is appropriate > to do in a Lucene index. > > Perhaps you could expand on your use case here. > > Best > Erick > > On Fri, Jul 3, 2009 at 3:32 PM, MilleBii <mille...@gmail.com> wrote: > > > I want to store in the index a data structure and load it back at search > > time. > > > > Is it safe to serialize the java object store it and load it back later ? > > Presumably I need to store it binary, right ? > > > > Otherwise I need to create my own store & load methods, waste of time. > > > > -- > > -MilleBii- > > >