El mar., 20 feb. 2018 a las 10:23, Claes Eriksson (<
claes.eriksson@vti.se>) escribió:
> Regarding Zebra’s native faceting I find some traces in an old RCF saying that it would
> be nice to replace "homegrown and inefficient routines for faceting" with Zebra’s native
> faceting.
Zebra facets usage was implemented here:
> I have also checked some libraries around the world with Koha set up by some of the larger
> consultants and they all handle facets in this way. I may ad to my ranting that it becomes a
> serious problem when it comes to subject facets. Narrowing down a search using subject
> facets that does only reflect the first 20 results is not helping a student or researcher. BTW,
> we tested setting default to 50 first results and response time increased with 5-8 seconds =
> not acceptable.
If you are using Zebra's native facets implementation (use_zebra_facets) on a recent Koha version (i.e. using DOM indexing) then your system is not using maxRecordsForFacets, but this configuration:
As you can see, it is pulling the facets from the first 1000 records in the result set. You could definitely try lowering it down to something reasonable (in your terms).
> As I understand facets are hardcoded in Zebra and not at all configurable. If I am wrong I would > be most grateful if you could hint me in the right direction. In ElasticSearch it is under
> discussion and not solved according to bug 18235?
Sorry for the mistake, I had my eyes on that bug a while ago and was sure there was lots of interest in the feature, so assumed it was already in master!
Good luck.
--