lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Drozdov (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2472) StatsComponent should support hierarchical facets
Date Thu, 02 Feb 2012 14:35:53 GMT

    [ https://issues.apache.org/jira/browse/SOLR-2472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13198836#comment-13198836
] 

Dmitry Drozdov commented on SOLR-2472:
--------------------------------------

The use-case is to get multi-level statistics with a single query.
We use Solr to store a lot of something like event log data.
It is probably not what Solr was designed for, but it is doing very well :)
We need to get some reports for this data and StatsComponent does exactly what we need except
the multi-level statistics.
                
> StatsComponent should support hierarchical facets
> -------------------------------------------------
>
>                 Key: SOLR-2472
>                 URL: https://issues.apache.org/jira/browse/SOLR-2472
>             Project: Solr
>          Issue Type: New Feature
>    Affects Versions: 3.1, 4.0
>            Reporter: Dmitry Drozdov
>         Attachments: SOLR-2472.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> It is currently possible to get only single layer of faceting in StatsComponent.
> The proposal is it make it possible to specify stats.facet parameter like this:
> &stats=true&stats.field=sField&stats.facet=fField1,fField2
> and get the response like this:
> <lst name="stats">
> <lst name="stats_fields">
> <lst name="sField">
> <double name="min">1.0</double>
> <double name="max">1.0</double>
> <double name="sum">4.0</double>
> <long name="count">4</long>
> <long name="missing">0</long>
> <double name="sumOfSquares">xxxxxxxx</double>
> <double name="mean">xxxxxxxx</double>
> <double name="stddev">xxxxxxxx</double>
> <lst name="facets">
> <lst name="fField1">
> <lst name="fField1Value1">
> <double name="min">1.0</double>
> <double name="max">1.0</double>
> <double name="sum">2.0</double>
> <long name="count">2</long>
> <long name="missing">0</long>
> <double name="sumOfSquares">xxxxxxxx</double>
> <double name="mean">xxxxxxxx</double>
> <double name="stddev">xxxxxxxx</double>
> <lst name="facets">
> <lst name="fField2">
> <lst name="fField2Value1">
> <double name="min">1.0</double>
> <double name="max">1.0</double>
> <double name="sum">1.0</double>
> <long name="count">1</long>
> <long name="missing">0</long>
> <double name="sumOfSquares">xxxxxxxx</double>
> <double name="mean">xxxxxxxx</double>
> <double name="stddev">xxxxxxxx</double>
> </lst>
> <lst name="fField2Value2">
> <double name="min">1.0</double>
> <double name="max">1.0</double>
> <double name="sum">1.0</double>
> <long name="count">1</long>
> <long name="missing">0</long>
> <double name="sumOfSquares">xxxxxxxx</double>
> <double name="mean">xxxxxxxx</double>
> <double name="stddev">xxxxxxxx</double>
> </lst>
> </lst>
> </lst>
> </lst>
> <lst name="fField1Value2">
> <double name="min">1.0</double>
> <double name="max">1.0</double>
> <double name="sum">2.0</double>
> <long name="count">2</long>
> <long name="missing">0</long>
> <double name="sumOfSquares">xxxxxxxx</double>
> <double name="mean">xxxxxxxx</double>
> <double name="stddev">xxxxxxxx</double>
> <lst name="facets">
> <lst name="fField2">
> <lst name="fField2Value1">
> <double name="min">1.0</double>
> <double name="max">1.0</double>
> <double name="sum">1.0</double>
> <long name="count">1</long>
> <long name="missing">0</long>
> <double name="sumOfSquares">xxxxxxxx</double>
> <double name="mean">xxxxxxxx</double>
> <double name="stddev">xxxxxxxx</double>
> </lst>
> <lst name="fField2Value2">
> <double name="min">1.0</double>
> <double name="max">1.0</double>
> <double name="sum">1.0</double>
> <long name="count">1</long>
> <long name="missing">0</long>
> <double name="sumOfSquares">xxxxxxxx</double>
> <double name="mean">xxxxxxxx</double>
> <double name="stddev">xxxxxxxx</double>
> </lst>
> </lst>
> </lst>
> </lst>
> </lst>
> </lst>
> </lst>
> </lst>
> </lst>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message