Hi, thanks I wondered if it already was incorporated or such.
Yes it is a little related to StatsComponent ( sum, avg etc) but I think
that this solves another problem (correct me if I'm wrong) since it
transforms the resulting field in a functionquery instead of counting as per
default (today).
I would like to utilize all code that has been written around Facets and
just to hook in somewhere SimpleFacets.getFacetDateCounts calls rangeCount
i.e. I would like to group on date but return something else than a count in
this case the sum of another field than the actual faceted field but I
I have now implemented Facet with FunctionQueries it is really cool! Sorry
but even though the author of SimpleFacets (Yonik) says in the javadoc that
one should subclass it to leverage more functionality I did not really find
that very true in this case. Too much code that not could be
Interesting looking stuff Marcus!
Seems sort of related to stat.facet (calc stats on unique facet values)
http://wiki.apache.org/solr/StatsComponent
On Thu, Mar 11, 2010 at 5:49 PM, Marcus Herou
marcus.he...@tailsweep.com wrote:
I have now implemented Facet with FunctionQueries it is really
On Mar 11, 2010, at 6:30 PM, Yonik Seeley wrote:
Interesting looking stuff Marcus!
Seems sort of related to stat.facet (calc stats on unique facet values)
http://wiki.apache.org/solr/StatsComponent
And https://issues.apache.org/jira/browse/SOLR-1622
On Thu, Mar 11, 2010 at 5:49 PM,