[
https://issues.apache.org/jira/browse/SOLR-7214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14369993#comment-14369993
]
Yonik Seeley commented on SOLR-7214:
------------------------------------
bq. How does this all fit with the work many have been doing on stats, facets,
etc?
Good question.
I added facet functions and sub facets (prior to the JSON API version) at the
beginning of 2014. I hacked the functionality into SimpleFacets. That
experience convinced me that we need more of a fresh start for faceting in
general, so when I added JSON API support, I created a new faceting module. I
think it will more cleanly support a lot of stuff we want to do with faceting /
analytics and other search functionality in the future.
Of course then SOLR-6351 was later created in the summer of 2014 that hangs
stats off of pivots, which sort of duplicates some of the functionality I had
been working on. Fair enough though, I had been doing my work in the
heliosearch fork and Solr needed something.
As far as APIs (and having more than one API), I've ran into a lot of people
that wanted a more structured API that's easier to create programmatically.
I'm also not sure if just continually expanding the use of localParams for this
stuff is the way to go. So how would one merge these APIs?
Then there's the analytics component, which is not yet distributed. It
probably still has more functionality than either my stuff here, or the new
pivot-stat stuff. But some have privately shared that they are not so keen on
it's API.
So yeah... it looks like we have at least 3 analytics solutions in various
states of development. Not sure what to do about that. Suggestions welcome.
We can look at sharing more implementation over time. I was going to do
percentiles, but then I saw it in SOLR-6350 as well, so I'll prob hold off and
see how much of that can be shared.
> 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]