lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ZhengBowen (JIRA)" <>
Subject [jira] [Created] (SOLR-3973) Cross facet
Date Mon, 22 Oct 2012 05:48:17 GMT
ZhengBowen created SOLR-3973:

             Summary: Cross facet
                 Key: SOLR-3973
             Project: Solr
          Issue Type: New Feature
          Components: SearchComponents - other
    Affects Versions: 3.5
            Reporter: ZhengBowen
             Fix For: 3.5

We often come across the scene of the multi-faceted cross, For example, the SQL statement,
select count( * ) from table1 group by A,B. 

Now we slightly modified for FacetComponent, this component to be able to support the multi-faceted

The effect of the new features are as follows´╝Ü

<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">84</int>
<lst name="params">
<str name="facet.cross">true</str>
<str name="facet">true</str>
<str name="shards">,,,,
<str name="facet.cross.sep">,</str>
<str name="start">0</str>
<str name="q">*:*</str>
<str name="facet.limit">10</str>
<arr name="facet.field">
<str name="rows">0</str>
<result name="response" numFound="479140" start="0" sum="0.0" max="-Infinity" min="Infinity"/>
<lst name="facet_counts">
<lst name="facet_queries"/>
<lst name="facet_fields">
<lst name="user_city,user_province">
<int name="Beijing,Beijing">16852</int>
<int name="Shanghai,Shanghai">16787</int>
<int name="Guangzhou,Gunagdong">12950</int>
<int name="Shenzheng,Guangdong">11667</int>
<int name="Hangzhou,Zhejiang">9997</int>
<int name="Chongqing,Chongqing">7624</int>
<int name="Chengdu,Sichuan">7082</int>
<int name="Wuhan,Hubei">6894</int>
<int name="Suzhou,Jiangsu">6528</int>
<lst name="facet_numTerms"/>
<lst name="facet_dates"/>
<lst name="facet_ranges"/>

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message