[Xapian-discuss] Summing collapsed values

Simon Roe simon.roe at talusdesign.co.uk
Wed Mar 25 19:08:56 GMT 2009


On Wed, Mar 25, 2009 at 6:36 PM, Richard Boulton
<richard at lemurconsulting.com> wrote:
> And you want, for each of those documents to get the sum of the "amount"
> for all the items which were collapsed?  ie, "15" for year=2000, "20" for
> year=2001.

Another element I've just thought of:  I'd like to sort by the summed
value too...

I guess that eliminates the double search option, would the matchspy
option handle this?

-- 
Help save the economy:
http://seriouschange.org.uk/

E: simon.roe at talusdesign.co.uk
M: 07742079314



More information about the Xapian-discuss mailing list