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

--- Comment #9 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
(In reply to Fridolin Somers from comment #8)
> Note that with Elasticsearch there is already a search field 'issues' using
> 'sum' type.
> It is used for sorting by popularity.
> 
> So total issues may be useless no ?

If you look at my last patch, I'm proposing to remove UpdateTotalIssuesOnCirc,
which was introduced to avoid the overhead caused by updating MARC all the
time.

I think using the `issues` aggregate field is ok, but using the total issues is
more accurate in terms of actual usage for the title: items can be deleted and
stop counting towards the popularity.

I personally like the pattern I come up with, even though I agree we could do
it differently for Elastic.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to