Closed vvo closed 8 years ago
Hmmm, I would rather go for 10 :) It doesn't make sense to display too much values. Also, what could be cool would be to set the maxValuesPerFacet
query parameter to max(all limit options)
.
It doesn't make sense to display too much values.
agree but I prefer the user to see that there's a lot of values and he then has to limit it if he wants to. Rather than having himself thinking there's a bug somewhere because he cannot see all the values.
Yes OK, that makes sense.
Hi @vvo ?
I guess I'm experiencing an issue with this, take a look at the screenshots please:
As you can see I have the list of country_iso as my facet values, and there are around 200 countries, so I set this limit, but all I can see both in the dashboard plus on the UI side (with Vue InstantSearch lib) is 100 values.
Did I miss something?
Current refinementList limit is always 100 which will lead to incomprehension, we should show all the facet values by default since the limit is already in the API server: 1000
So basically if no limit is passed there's nothing to do we just use the index settings. If a limit is passed then we limit it programmatically after receiving the data.