Hi,
Dear try doing the following,
1. write an extension class and extend the class containing search(...) 
method you listed. Define that class to be serialized.
2. let the class be overriding search method with just same content in it as 
in the super class.
3. build your lucene 1.** file again with ant, and try working out the way 
you desire.
I think this solves your problem.
Nrupal


 On 6/24/05, Robert Newson <[EMAIL PROTECTED]> wrote: 
> 
> 
> Can Hits be made serializable?
> 
> I'm finding that almost all of the time for a remote search is spent
> lazily retrieving document objects.
> 
> I'd like to create a remote interface like with a method like;
> 
> Hits search(Query query, Filter filter, int prefetch)
> 
> The remote end would call Hits.doc() for the first $prefetch entries.
> 
> This will make a huge difference to remote searching performance;
> 
> total fetch server1 server2 server3
> 862 699 86 69 96
> 
> For now, I'll use Document[] as the return value, but Hits feels more
> natural.
> 
> B.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to