[
https://issues.apache.org/jira/browse/SOLR-792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ryan McKinley updated SOLR-792:
-------------------------------
Attachment: SOLR-792-PivotFaceting.patch
This takes the existing patch and:
# Renames TreeFacetCompont to 'PivotFacetComponent' (i like that name best)
# Moves the parameter defines to FacetParams.java
# Adds pivot support to Solrj so the fields are used easily
# Adds tests using the solrj API
# Augments the results with the matching facet count -- this is kind of hacky
the name is is prefixed with its count, in the sample data, this is:
{code:xml}
<lst name="facet_pivot">
<lst name="cat,popularity">
<lst name="17:electronics">
<int name="6">5</int>
<int name="7">5</int>
<int name="5">3</int>
...
</lst
<lst name="6:memory">
<int name="5">3</int>
<int name="7">2</int>
...
</lst>
{code}
This means that there are 17 things matching electronics and 6 matching memory.
Anyone have better ideas how we could include this info? I also considered:
{code:xml}
<lst name="electronics">
<int name="6">5</int>
<int name="7">5</int>
<int name="5">3</int>
...
<int name="__count__">17</int>
</lst
{code}
> Tree Faceting Component
> -----------------------
>
> Key: SOLR-792
> URL: https://issues.apache.org/jira/browse/SOLR-792
> Project: Solr
> Issue Type: New Feature
> Reporter: Erik Hatcher
> Assignee: Erik Hatcher
> Priority: Minor
> Attachments: SOLR-792-PivotFaceting.patch, SOLR-792.patch,
> SOLR-792.patch, SOLR-792.patch, SOLR-792.patch, SOLR-792.patch, SOLR-792.patch
>
>
> A component to do multi-level faceting.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]