lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <>
Subject Re: Lucene Challenge - sum, count, avg, etc.
Date Fri, 02 Apr 2010 12:50:46 GMT

On Apr 1, 2010, at 11:13 PM, Michel Nadeau wrote:

> My big question is how do you loop 1M records, sum up field(s), and then
> sort on that field... all in memory (could use too much ram) ?  In a
> temporary index (could take a while to re-write a lot of documents in a new
> index) ?

You're going to need to do some combination of Collector, FieldCache and the existing Sort
code.  Doesn't Solr's StatsComponent work for this?

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

View raw message