lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <>
Subject Hits not serializable.
Date Thu, 23 Jun 2005 20:38:59 GMT

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 


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message