[Koha-bugs] [Bug 26369] Set use_zebra_facets to 0 in the templates

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 10 04:53:27 CEST 2020


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

--- Comment #7 from David Cook <dcook at prosentient.com.au> ---
Actually, I have a compromise. 

I just checked a database of 1,000,000+ bib records and it's blazingly fast to
get the hit count for a even a very large result set.

Z> find d
Sent searchRequest.
Received SearchResponse.
Search was a success.
Number of hits: 670262, setno 2
SearchResult-1: term=d cnt=670262
records returned: 0
Elapsed: 0.200435

So why don't we keep the zebra facets default to 1, but add a sanity check to
the Koha code where we don't use Zebra facets after we've reached a certain
configurable limit say maybe 50,000 records? (We could do some benchmarking to
figure out an optimal imit.)

That way we can have our cake and eat it too :D

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


More information about the Koha-bugs mailing list