lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <rnew...@connected.com>
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 
natural.

B.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message