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