lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amin Mohammed-Coleman <ami...@gmail.com>
Subject Re: Storing a serialized object ?
Date Sat, 04 Jul 2009 08:00:32 GMT
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 <erickerickson@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 <millebii@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-
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message