Re: Pivot with Stats (or Stats with Pivot)

2011-05-31 Thread Erick Erickson
Well, you can discuss it on the dev list, but given that Solr is open
source, you'll
have to either create your own patch or engage the community to create one.

You haven't really stated why this is a good thing to have, just that
you want it.
So the use-case would be a big help.

Please don't raise a JIRA until you've discussed it though, it may be
that there's
something in the works that one of the devs already knows about...

Best
Erick

On Fri, May 27, 2011 at 10:34 AM,  edua...@calandra.com.br wrote:
 Nobody?

 Please, help





 edua...@calandra.com.br
 17/05/2011 16:13
 Please respond to
 solr-user@lucene.apache.org


 To
 solr-user@lucene.apache.org
 cc

 Subject
 Pivot with Stats (or Stats with Pivot)






 Hi All,

  Is it possible to get stats (like Stats Component: min ,max, sum, count,

 missing, sumOfSquares, mean and stddev) from numeric fields inside
 hierarchical facets (with more than one level, like Pivot)?

  I would like to query:
 ...?q=*:*version=2.2start=0rows=0stats=truestats.field=numeric_field1stats.field=numeric_field2stats.pivot=field_x,field_y,field_z
  and get min, max, sum, count, etc. from numeric_field1 and
 numeric_field2 from all combinations of field_x, field_y and field_z
 (hierarchical values).


  Using stats.facet I get just one field at one level and using
 facet.pivot I get just counts, but no stats.

  Looping in client application to do all combinations of facets values
 will be to slow because there is a lot of combinations.


  Thanks a lot!




Re: Pivot with Stats (or Stats with Pivot)

2011-05-27 Thread eduardo
Nobody?

Please, help





edua...@calandra.com.br 
17/05/2011 16:13
Please respond to
solr-user@lucene.apache.org


To
solr-user@lucene.apache.org
cc

Subject
Pivot with Stats (or Stats with Pivot)






Hi All,

  Is it possible to get stats (like Stats Component: min ,max, sum, count, 

missing, sumOfSquares, mean and stddev) from numeric fields inside 
hierarchical facets (with more than one level, like Pivot)?

  I would like to query: 
...?q=*:*version=2.2start=0rows=0stats=truestats.field=numeric_field1stats.field=numeric_field2stats.pivot=field_x,field_y,field_z
  and get min, max, sum, count, etc. from numeric_field1 and 
numeric_field2 from all combinations of field_x, field_y and field_z 
(hierarchical values).


  Using stats.facet I get just one field at one level and using 
facet.pivot I get just counts, but no stats.

  Looping in client application to do all combinations of facets values 
will be to slow because there is a lot of combinations.


  Thanks a lot!



Re: Pivot with Stats (or Stats with Pivot)

2011-05-23 Thread Eduardo
I would like to request this feature. How can I do that?

Thanks.

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Pivot-with-Stats-or-Stats-with-Pivot-tp2953789p2975341.html
Sent from the Solr - User mailing list archive at Nabble.com.


Pivot with Stats (or Stats with Pivot)

2011-05-17 Thread eduardo
Hi All,

  Is it possible to get stats (like Stats Component: min ,max, sum, count, 
missing, sumOfSquares, mean and stddev) from numeric fields inside 
hierarchical facets (with more than one level, like Pivot)?

  I would like to query: 
...?q=*:*version=2.2start=0rows=0stats=truestats.field=numeric_field1stats.field=numeric_field2stats.pivot=field_x,field_y,field_z
  and get min, max, sum, count, etc. from numeric_field1 and 
numeric_field2 from all combinations of field_x, field_y and field_z 
(hierarchical values).


  Using stats.facet I get just one field at one level and using 
facet.pivot I get just counts, but no stats.

  Looping in client application to do all combinations of facets values 
will be to slow because there is a lot of combinations.


  Thanks a lot!