[Koha-bugs] [Bug 22924] Elasticsearch, SysPref FacetMaxCount don't show more than 10 facets
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jun 17 14:06:05 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22924
Alex Arnaud <alex.arnaud at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #90341|0 |1
is obsolete| |
--- Comment #8 from Alex Arnaud <alex.arnaud at biblibre.com> ---
Created attachment 90665
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=90665&action=edit
Bug 22924: Make elasticsearch honour FacetMaxCount system preference
We have a line in QueryBuilder to respect the preference if a facet is
expanded, it seems
we forgot to pass the option to the querybuilder however
To test:
1 - Enable Elasticsearch
2 - Set FacetMaxCount to 20
3 - Search in ES for '*' or something with a lot of results
4 - Expand some facets, note you get no more than 10 for any facet
5 - Apply patch
6 - Search again
7 - Expand facets, note they now go up to 20
8 - Try with various values of FacetMaxCount
Signed-off-by: Alex Arnaud <alex.arnaud at biblibre.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list