[
https://issues.apache.org/jira/browse/SOLR-5302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13803001#comment-13803001
]
Houston Putman edited comment on SOLR-5302 at 10/23/13 8:41 PM:
----------------------------------------------------------------
Andrew Psaltis, I would look at FacetingAccumulator and the
fieldFacetAccumulator and implement something similar to those. I don't know
much about pivot faceting, but from what I can tell it is nested field facets.
The FacetingAccumulator acts like a wrapper on the BasicAccumulator to add
functionality for Facets; so I would add another BasicAccumulator wrapper that
deals with pivoting.
When the functionality is there, you will want to make a PivotFacetingRequest
class, and look at the AnalyticsRequestFactory, AnalyticsStats and
AnalyticsRequest to make sure your pivot params get parsed correctly and
computed.
was (Author: houstonputman):
Andrew Psaltis, I would look at FacetingAccumulator and the
fieldFacetAccumulator and implement something similar to those. I don't know
much about pivot faceting, but from what I can tell it is nested field facets.
The FacetingAccumulator acts like a wrapper on the BasicAccumulator to add
functionality for Facets; so I would add a wrapper on top of the
FacetingAccumulator to supported the (nested) pivoting.
When the functionality is there, you will want to make a PivotFacetingRequest
class, and look at the AnalyticsRequestFactory, AnalyticsStats and
AnalyticsRequest to make sure your pivot params get parsed correctly and
computed.
> Analytics Component
> -------------------
>
> Key: SOLR-5302
> URL: https://issues.apache.org/jira/browse/SOLR-5302
> Project: Solr
> Issue Type: New Feature
> Reporter: Steven Bower
> Assignee: Erick Erickson
> Attachments: Search Analytics Component.pdf, SOLR-5302.patch,
> solr_analytics-2013.10.04-2.patch, Statistical Expressions.pdf
>
>
> This ticket is to track a "replacement" for the StatsComponent. The
> AnalyticsComponent supports the following features:
> * All functionality of StatsComponent (SOLR-4499)
> * Field Faceting (SOLR-3435)
> ** Support for limit
> ** Sorting (bucket name or any stat in the bucket
> ** Support for offset
> * Range Faceting
> ** Supports all options of standard range faceting
> * Query Faceting (SOLR-2925)
> * Ability to use overall/field facet statistics as input to range/query
> faceting (ie calc min/max date and then facet over that range
> * Support for more complex aggregate/mapping operations (SOLR-1622)
> ** Aggregations: min, max, sum, sum-of-square, count, missing, stddev, mean,
> median, percentiles
> ** Operations: negation, abs, add, multiply, divide, power, log, date math,
> string reversal, string concat
> ** Easily pluggable framework to add additional operations
> * New / cleaner output format
> Outstanding Issues:
> * Multi-value field support for stats (supported for faceting)
> * Multi-shard support (may not be possible for some operations, eg median)
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]