Re: Sum of one field

2008-08-06 Thread Svein Parnas
- Original Message From: Leonardo Dias [EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent: Monday, August 4, 2008 1:19:45 PM Subject: Sum of one field Everyone exhibits your search for x has returned y results on the top of the results page, but we need something else, which would

Re: Sum of one field

2008-08-06 Thread Leonardo Dias
- Original Message From: Leonardo Dias [EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent: Monday, August 4, 2008 1:19:45 PM Subject: Sum of one field Everyone exhibits your search for x has returned y results on the top of the results page, but we need something else, which would

Re: Sum of one field

2008-08-06 Thread Yonik Seeley
On Wed, Aug 6, 2008 at 10:46 AM, Koji Sekiguchi [EMAIL PROTECTED] wrote: Just on I'm working on the similar issue per customer request. StatsComponent - it will return min,max,sum,qt,avg as follows: Seems like perhaps one should be able to return any arbitrary function (actually multiple), and

Re: Sum of one field

2008-08-06 Thread Koji Sekiguchi
Just on I'm working on the similar issue per customer request. StatsComponent - it will return min,max,sum,qt,avg as follows: Seems like perhaps one should be able to return any arbitrary function (actually multiple), and sort by an arbitrary function also. Sounds interesting. WRT an

Re: Sum of one field

2008-08-05 Thread Leonardo Dias
this, but this is what comes to (my) mind first. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Leonardo Dias [EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent: Monday, August 4, 2008 1:19:45 PM Subject: Sum of one field Everyone

Re: Sum of one field

2008-08-05 Thread Norberto Meijome
On Tue, 05 Aug 2008 18:58:42 -0300 Leonardo Dias [EMAIL PROTECTED] wrote: So I'm looking for a Ferrari. CarStore says that there are 5 ads for Ferrari, but one ad has 2 Ferraris being sold, the other ad has 3 Ferraris and all the others have 1 Ferrari each, meaning that there are 5 ads and

Sum of one field

2008-08-04 Thread Leonardo Dias
Everyone exhibits your search for x has returned y results on the top of the results page, but we need something else, which would be something like your search for x returned y results in z records, being z the numdocs of the SOLR response and y a SUM(quantity) of all returned records. In