[
https://issues.apache.org/jira/browse/SOLR-792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921148#action_12921148
]
Ryan McKinley commented on SOLR-792:
------------------------------------
yonik -- I just added some simple docs... sorry for the delay.
*re native types* yes, it would be great to have the native type. It is
currently a string because that is the interface exposed by SimpleFacets
{code:java}
NamedList<Integer> f = SimpleFacets.getTermCounts(field);
{code}
for a native list, we would want something like:
{code:java}
List<KeyValuePair<Object,Integer>> f = =
SimpleFacets.getNativeTermCounts(field);
{code}
or convert the string back to a value as it is added to the result? I'm not
sure the best approach.
*re separate component* I think "SimpleFacets" are no longer "Simple" and we
should make an effort to break that into more components rather then one
massive one.
*re mincount default=1* we could make the default 0 if people think that makes
more sense
*re deque / java6* This could easily be changed to use a non java 6 interface.
patches welcome. But as Hoss said 1.5 will not likely be released, though
this should be applied to 3.x at some point.
> Pivot (ie: Decision 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]