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

Yonik Seeley commented on SOLR-792:
-----------------------------------

One thing I noticed is that the "value" is always a string.  Example:  
"value":"6" as opposed to "value":6 when pivoting by popularity.

Result grouping on the other hand, does use the native value type:
http://localhost:8983/solr/select?q=*:*&group=true&group.field=popularity

One way to think about it is that the labels for faceting normally use string 
values.  But that's because they must for something like JSON.  A different way 
of thinking about it is that whenever we have values (as opposed to keys) we 
should use "native" types boolean, int, float, etc.

Thoughts?

> 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: Ryan McKinley
>            Priority: Minor
>         Attachments: SOLR-792-PivotFaceting.patch, 
> SOLR-792-PivotFaceting.patch, SOLR-792-PivotFaceting.patch, 
> 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]

Reply via email to