lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Willnauer <simon.willna...@googlemail.com>
Subject Re: Storing a serialized object ?
Date Sat, 04 Jul 2009 08:11:12 GMT
Hi there,

On Fri, Jul 3, 2009 at 9: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 ?
It won't be particularly fast nor efficient but it is gonna work.
> Presumably I need to store it binary, right ?
That is one way, or you do it base64 encoded in a text field if don't
care about space at all. :)
I agree with Eric, you should explain your usecase a little more to
get a more detailed answer if it make sense or not.

simon
>
> Otherwise I need to create my own store & load methods, waste of time.
>
> --
> -MilleBii-
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message