That's what I've done so far (in a String[] object).

Thank you for your reply.

Marco
----- Original Message ----- 
From: "Erik Hatcher" <[EMAIL PROTECTED]>
To: "Lucene Users List" <[EMAIL PROTECTED]>
Sent: Saturday, September 13, 2003 2:58 AM
Subject: Re: Why Hits is not serializable?


> On Friday, September 12, 2003, at 09:05  PM, Marco Tedone wrote:
> > Hi, I was wondering why Hits is not serializable?
> 
> Hits is really a collection of pointers back to the documents, not a 
> standalone collection.
> 
> > Which is your standard way to pass the matching documents between 
> > different
> > context?
> 
> Have a look at ejindex: http://ejindex.sourceforge.net/
> 
> Also, have a look at the built-in RemoteSearchable class.  You could 
> use it to search over RMI.
> 
> > For now, I'm going to create a Serializable object (a String[] or a
> > Collection) but I'm remaining for your reply.
> 
> But the quickest/easiest way that I've used before is to extract all 
> the documents from the hits and wrap it up as a Map and send it back.
> 
> Erik
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to