[Koha-bugs] [Bug 13665] Retrieve facets from zebra is slow

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 24 13:02:39 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13665

--- Comment #9 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
David, whlie you're digging that hole... One of the problems for the facet
retrieval step in Koha is that we look through the defined facets instead of
fetching them all at once.

The reason behind that is that if some facet is not populated at all (i.e. no
record has field X which is mapped to the facet) then the resultset is always
empty in Zebra. I filed an issue about that (a lot of time ago) but the answer
was negative: that's the expected behavior.

So, would it be possible to add some ghost record (e.g. ID = -1) with all the
fields (one space or special character?) so we convert it into one query
instead of many?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list