Single Select Facet shows 5 values only

Hi,

For facet views, I am using Single Select Facet but it is showing only 5 values in the dropdown. Can someone please advise how to increase that count, I checked the config but couldn't find anything related to that.

When you configure facets in searchQuery, it's possible to specify a size for the facet. Try that to begin with.

Hi @JasonStoltz, Thanks for the reply. I have taken a reference from reference-ui and in that size is already being set to 100 but it's not affecting the data in the Facet(Dropdown)values, it is still showing 5 values.

image

Got the issue, it is a show prop which needs to be set for the number of results it shows.

https://github.com/elastic/search-ui/blob/master/ADVANCED.md#properties-4

1 Like

I was just about to reply with the same, glad we got it resolved!

1 Like

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