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

Steve Molloy commented on SOLR-7214:
------------------------------------

I think the underlying implementations should be shared. While I agree that 
SimpleFacets got to the point of being anything but simple... I don't think 
having completely separate implementations will help at all. Haven't looked at 
the new code yet, but how hard would it be to roll in pivot stats (and 
everything under SOLR-6350) into this implementation? I'm thinking that while 
this new way of passing parameters to facetting is good, we'll still need to 
support the old way to avoid any pains for users currently doing it the old 
way. And this should be perfectly fine as after all, we're talking about how to 
pass parameters, not what to do about them. So, whatever underlying 
implementation is more solid, easier to maintain, evolve, etc. We should use 
that and have all functionality work with it. If this new implementation 
supports all Solr needs, then let's simply have a layer that can parse 
parameters into a JSON format that will be provided to it. If it's the other 
way around, let's parse the JSON into parameters for the facet processing. 
Either way, we should decouple the way to provide parameters from the actual 
processing, and we should have a single way of performing that processing for 
facets...

> JSON Facet API
> --------------
>
>                 Key: SOLR-7214
>                 URL: https://issues.apache.org/jira/browse/SOLR-7214
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Yonik Seeley
>         Attachments: SOLR-7214.patch
>
>
> Overview is here: http://yonik.com/json-facet-api/
> The structured nature of nested sub-facets are more naturally expressed in a 
> nested structure like JSON rather than the flat structure that normal query 
> parameters provide.
> Goals:
> - First class JSON support
> - Easier programmatic construction of complex nested facet commands
> - Support a much more canonical response format that is easier for clients to 
> parse
> - First class analytics support
> - Support a cleaner way to do distributed faceting
> - Support better integration with other search features



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to