Opened 10 years ago

Closed 10 years ago

#531 closed enhancement (wontfix)

Limit number of facet values retrieved

Reported by: Twan Goosen Owned by:
Priority: minor Milestone:
Component: VLO web app Version:
Keywords: Cc:


Solr has an query parameter 'facet.limit' that allows the client to control the maximum number of values returned per facets. It would be nice to use this as much as possible, especially for the facet panels that only show the 10 (or so) most frequent values. However this would require some refactoring, since such a 'limited' query does not return the total number of values, which makes it impossible to decide whether the 'more' link should be shown on basis of this single query.
Possible a service could be extended to provide both the facet field and the number of values, doing two queries in the background (when needed).

Change History (3)

comment:1 Changed 10 years ago by DefaultCC Plugin

Cc: added

comment:2 Changed 10 years ago by Twan Goosen

Milestone: VLO-3.0
Priority: majorminor

comment:3 Changed 10 years ago by Twan Goosen

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.