[Koha-bugs] [Bug 28610] Elasticsearch 7 - hits.total is now an object
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Feb 18 22:01:41 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28610
Fridolin Somers <fridolin.somers at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fridolin.somers at biblibre.co
| |m
--- Comment #7 from Fridolin Somers <fridolin.somers at biblibre.com> ---
(In reply to Jonathan Druart from comment #5)
> + if (version->parse($self->{es_version}) >= version->parse('7.0.0')) {
>
> It's going to be mess very quickly if we are starting to add conditions on
> the version. Cannot we avoid that?
+1
This may impact a lot search performance.
Or we should add a cache on parsed ES version.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list