lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Drozdov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-2472) StatsComponent should support hierarchical facets
Date Mon, 02 May 2011 09:16:03 GMT

     [ https://issues.apache.org/jira/browse/SOLR-2472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dmitry Drozdov updated SOLR-2472:
---------------------------------

    Affects Version/s: 4.0

> 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.
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