lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Ludwig <>
Subject Re: Performance and number of search results
Date Wed, 29 Apr 2009 12:30:48 GMT
Wouter Samaey schrieb:

> Can someone please comment on the performance impact of the number of
> search results?
> Is there a big difference between querying for 1 result, 10, 20 or
> even 100 ?

Probably not, but YMMV, as the question is very general.

Consider that for fast queries the HTTP round trip may well be the
determining factor. Or XML parsing. If you've stored a lot of data in
Solr and request all of it to be returned, the difference between 1 and
100 results may be the difference between 1 and 100 KB payload.

If you think it matters, the best thing for you would be to do some
profiling for your specific scenario.

The rule of thumb here is probably: Get what you need.

Michael Ludwig

View raw message