Deliver facet information for search results
The search results should also (on demand) return facets, i.e. information for selected indices/fields, how many items with a given value appear in the resultset.
As a special case an all-query (*
) would return distribution for given facet over the whole dataset.
This information is to be used by the client for faceting the resultset and also on the front-page as alternative entry-point into the data.
Candidates for faceting are in general all fields with vocabularies, primarily: ActivityType
, keyword
SOLR offers corresponding functionality out of the box, however our current API does not seem to support this. That means we would need to extend the API, which should probably mimic the corresponding SOLR parameters and responses. Alternative propositions?
This is implementation of sshoc-marketplace#19 (closed)
(notify: @tparkola, @mkozak, @frank.fischer01, @ymoranv , @klaus.illmayer, @lbarbot, @stefan.probst )