Search UI: Facet only returns 20 values

Hello,
I'm currently building a course catalog using Search UI. One of the facets we need to filter on is the "Subject" of the course. Right now, I can only get 20 of them to show up. I've tried to add show={100} as described in this topic, but it's not working. The "read more" button also caps out at 20. Is there some configuration I'm missing, or a different way to ensure they all show up? The facets are there — when I type them into the autocomplete of the facet or if I use a search query, the rest of them will show up.

Thanks,
Tanza

EDIT: I recognize that this question has been answered here but the link to the documentation is a dead end.

1 Like

I figured it out. For future reference, you have to set the size in the facet config:

    facets: {
      "get_subject_filter": { type: "value", "sort": "value", "size": 100 },
    },
1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.