well, certainly you can serialize into a byte stream and encode it using base64.
Jian On 9/20/05, Mordo, Aviran (EXP N-NANNATEK) <[EMAIL PROTECTED]> wrote: > > I can't think of a way you can use serialization, since lucene only > works with strings. > > -----Original Message----- > From: Tricia Williams [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 20, 2005 3:30 PM > To: [email protected] > Subject: RE: Storing HashMap as an UnIndexed Field > > Do you think there is anyway that I could use the serialization already > built into the HashMap data structure? > > On Tue, 20 Sep 2005, Mordo, Aviran (EXP N-NANNATEK) wrote: > > > You can store the values as a coma separated string (which then you'll > > > need to parse manually back to a HashMap) > > > > -----Original Message----- > > From: Tricia Williams [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, September 20, 2005 3:14 PM > > To: [email protected] > > Subject: Storing HashMap as an UnIndexed Field > > > > Hi, > > > > I'd like to store a HashMap for some extra data to be used when a > > given document is retrieved as a Hit for a query. To add an UnIndexed > > > Field to an index takes only Strings as parameters. Does anyone have > > any suggestions on how I might convert the HashMap to a String that is > > > efficiently recomposed into the desired HashMap on the other end? > > > > Thanks, > > Tricia > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
